Create a REST API for a card game style application, where two movies will be informed and the player must get it right the one with the best rating on IMDB.
It were created 2 users that will be used to starting a match.
- username: player1
- password: qwe123
- username: player2
- password: qwe123
- url: http://localhost:8080/h2-console
- user:sa
- password:sa
For documentation, Swagger Open-API and Javadoc were used.
- To open the Swagger Open-API. After to start the application. In your browser type it:
http://localhost:8080/swagger-ui/index.html
- Insert username and password from User 1 or User 2
- username: player1
- password: qwe123
- username: player2
- password: qwe123
It was added the battle-movies_francisco_requests.postman_collection.json with all requests created in this project. Case you import the json file to your Postman, you will be able to make all requests from Battle Movie API using the Postman.
There are unit tests and integration tests that cover over 82% of the methods.
Technology stack utilized in this project.
- Java 17+
- SpringBoot
- Spring JPA
- Spring Security
- Swagger Open-API
- Junit 5
- Mockito
- Lombok
- Gradle
- Javadoc
- H2 Database