This project is an API to manage apps.
- Java 11
- Docker - https://docs.docker.com/install/
- Docker compose - https://docs.docker.com/compose/install/
- Maven - https://maven.apache.org/download.cgi
The docker-compose file its located at the project root.
docker-compose up -d
This command it's going to start:
- Postgres server.
mvn spring-boot:run
After the application started access the url:
http://localhost:8080/swagger-ui/index.html#
You should see the swagger documentation
To run test open the file AppControllerTest in src/test/java/com.rogalabs.rogalabsapi First run the test called saveSuccess(), after you can run all the other tests.