For your technical test, fork this repository and then procceed as mentioned on the problem proposal below. Please reach out if you have any questions!
Welcome to your technical test! Here's the problem you're trying to solve:
A developer was tasked to create a Rails API from scratch that would list upcoming movie releases on Brazil. After some time, the team realized that the codebase might need a bit of a refactoring, and you were given the opportunity to help! We ask the following things from you:
- Analyze the code from the repository and check for possible problems/improvement oportunities;
- Open one or more PRs with your suggestions. You can refactor the code, explaining the reasons why you changed the code on commit messages.
- You can also add new functionalities if you'd like!
list upcoming movie releases on Brazil.
- API written in Rails;
- All endpoints should return JSON unless specified.
List all movies on a reverse chronological order.
Data from the movie that should be shown:
- title
- release_date
- genre
- runtime
- parental_rating
- plot
- user ratings (from 1 to 5)
Show information about a particular movie
Search movies given a title
Add a new movie
Remove a movie
Rate a movie.
WARNING: This is a fictional piece of work. No real codebases were harmed on the production of this test.