- JDK 11 + OpenJ9
- Spring 2
- Gradle 6
$ gradle clean bootJar
$ docker build -f Dockerfile -t shop-platform-customer .
$ docker run -d --rm --name shop-platform-customer -p 8080:8080 --link=mongodb:mongodb shop-platform-customer:latest
In order to run this project, you need to run a MongoDB on mongodb:27017
or you can change it on application.properties
file.
You can find examples of how to use the rest API on a file called api.http
.
This file can also be executed on VS Code using the Rest Client plugin.
Swagger documentation can be found at url http://localhost:8080/swagger-ui.html#/