Skip to content

ghalib31/aggregate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghalib31

FedEx Assignment

Pre-requisite

Docker should be installed
Run below to download the image for backend services

docker pull xyzassessment/backend-services

Run below to start docker container for backend service

docker run -p 8080:8080 -d --name tnt xyzassessment/backend-services

Note: Above command starts services on port 8080.
If you wish to use any other port, please change it in aggregate.properties as well.


Building and running from code

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:run

Running from jar

Go to the location of the jar (in terminal/command prompt) and run

java -jar aggregate-0.0.1-SNAPSHOT.jar

Note: 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages