fcojj / ada-battle-movies

Crie uma API REST para uma aplicação ao estilo card game, onde serão informados dois filmes e o jogador deve acertar aquele que possui melhor avaliação no IMDB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the Battle Movies

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.

Created users

It were created 2 users that will be used to starting a match.

User 1

  • username: player1
  • password: qwe123

User 2

  • username: player2
  • password: qwe123

Access to H2 Database Console

Reference Documentation

For documentation, Swagger Open-API and Javadoc were used.

Swagger Open-API documentation

  1. To open the Swagger Open-API. After to start the application. In your browser type it:
http://localhost:8080/swagger-ui/index.html
  1. Insert username and password from User 1 or User 2

User 1

  • username: player1
  • password: qwe123

User 2

  • username: player2
  • password: qwe123
  1. Something like that will open: picture alt

Postman Collection API

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.

picture alt

Test Coverage

There are unit tests and integration tests that cover over 82% of the methods.

picture alt

Built With

Technology stack utilized in this project.

  • Java 17+
  • SpringBoot
  • Spring JPA
  • Spring Security
  • Swagger Open-API
  • Junit 5
  • Mockito
  • Lombok
  • Gradle
  • Javadoc
  • H2 Database

Contacts

About

Crie uma API REST para uma aplicação ao estilo card game, onde serão informados dois filmes e o jogador deve acertar aquele que possui melhor avaliação no IMDB.


Languages

Language:Java 100.0%