Docker should be installed
Run below to download the image for backend services
docker pull xyzassessment/backend-servicesRun below to start docker container for backend service
docker run -p 8080:8080 -d --name tnt xyzassessment/backend-servicesNote: Above command starts services on port 8080.
If you wish to use any other port, please change it in aggregate.properties as well.
Go to the root folder of the code i.e. aggregate (in terminal/command prompt)and run (use mvnw.cmd for windows)
sh ./mvnw clean install
sh ./mvnw spring-boot:runGo to the location of the jar (in terminal/command prompt) and run
java -jar aggregate-0.0.1-SNAPSHOT.jarNote: Application is configured to run on port 8888.
If you wish to use any other port, please change it in application.properties and build again``.
Example url to hit:
http://localhost:8888/aggregation?pricing=NL,CN&track=109347263,123456891&shipments=109347263,123456891