Develop an API to explore the world of Disney, which will allow knowing and modifying the characters that compose it and understand in which films they participated. On the other hand, it must expose the information so that any frontend can consume it.
- 👉 Use Spring Boot.
- 👉 No need of Frontend.
- 👉 Paths must follow a REST pattern.
- 👉 Use Spring Security library.
-
Character: must have,
- Image.
- Name.
- Age.
- Weight.
- Story.
- Associated movies.
-
Movies: must have,
- Image.
- Title.
- Creation date.
- Rating (from 1 to 5).
- Associated characters.
-
Genre: must have,
- Name.
- Image.
To make requests to subsequent endpoints, the user must have a token that
will be given when authenticating. For this, the registration and login endpoints must be developed, which
allow to obtain the token.
Endpoints in charge of authentication must be:
- /auth/signin
- /auth/signup
- Image.
- Name.
- /characters
- GET /characters?name=nombre
- GET /characters?age=edad
- GET /characters?movies=idMovie
Endpoint must be:
- GET /movies
The search term, filter or sort must be specified as query parameters:
- /movies?name=nombre
- /movies?genre=idGenero
- /movies?order=ASC | DESC