How to Run
- install docker
- docker-compose build
- docker-compose up
- docker-compose exec web rails db:create
- docker-compose exec web rails db:migrate
- docker-compose exec web sidekiq -C config/sidekiq.yml
- Open http://0.0.0.0:3000/ on the browser
I used services and job queues and sidekiq, redis and
Associations:
- Movie belongs to a Director.
- Movie has many Reviews.
- Review belongs to both Movie and User.
- Movie has many Actors through MovieActor.
- Movie has many Countries through MovieCountry.
- Movie has many Cities through MovieCity.
- MovieActor, MovieCountry, and MovieCity are join tables representing many-to-many relationships.
- Review has a many-to-one relationship with both Movie and User.