This is a small Ruby on Rails application designed to show movies sorting by reviews rating. It allows users to import movies and reviews data from CSV files, view movies details, search for movies by actor, and sort movies by average rating.
-
Clone the repository
-
Install dependencies:
bundle install
-
Setup the database:
rails db:create rails db:migrate
-
Start the Sidekiq server:
bundle exec sidekiq
-
Start the server:
rails s
-
Importing data:
rails import:csv
You can view all movies by visiting the localhost:3000
route.
To search for movies by actor, enter the actor's name in the search form available on the movies index page localhost:3000
.
Movies is sorted by average rating (stars) in descending order.