Our project is a service about films. It provides functionality that allows you to find out detailed information about the film, set and find out ratings, write and watch comments, a list of films with the ability to set statuses, and much more.
Learn how to build a REST API
Understand the development sequence, task priority and time management
We could make support for series, an algorithm for selecting films according to the interests of the user, and a release calendar.
Environment | Version |
---|---|
Ruby | 3.0.2 |
Rails | 6.1.4 |
Database | Postgresql |
Dependencies | Installation |
---|---|
Redis | Guide |
Elasticsearch | Guide |
Mailcatcher | Guide |
Clone repository
git clone git@github.com:iTechArt-RubyLab/movie-land.git
Run configuration commands
bundle install
rails db:create db:migrate db:seed
Run rake task to fill data with TheMovieDb
rake themoviedb
Run rake task to import data for elasticsearch
rake elasticsearch:import
Run configuration commands
sudo service elasticsearch start
mailcatcher
redis-server
sidekiq
Run rails server
rails s
Run all specs
rspec spec