Test project was used:
- Ruby
- Ruby on Rails
- Postgresql
- httparty
- rubocop
- fasterer
- overcommit
- factory bot
- annotate
- rspec
I chose PostgreSQL as a database. Realized best practices moving business logic to services. Also, I used httpart gem for API, and rubocop, fasterer, overcommit to make code cleaner and more effective.
- Movies (id: integer, title: string, imdb_id: string);
- Showtime (movie_id: FK to movie, time: datetime, price: float);
- RatingReview (movie_id: FK to movie, rating: integer)
bundle install
overcommit --install
rake db:create
rake db:migrate
rake db:seed
rails s
rspec