The service which responsible for manage deliveries, packages
-
Setup docker locally
- In case of problems with docker during build run "sudo chmod 666 /var/run/docker.sock"
-
Setup postgreSQL
- Setup database dropitdeliverydb.
- Create user ' create user dropit with encrypted password 'dropit''
- Use this script as example
create database dropitdeliverydb; create user dropit with encrypted password 'dropit'; grant all privileges on database dropitDeliveryDB to dropit;
- Run build with gradle
./gradlew clean build
- Run a service. We have the following options to run the application:
./gradlew bootRun
or
java -jar build/libs/DropitTestTask.jar
- Run a service.
- Go to page http://localhost:8080/swagger-ui.html