This project is a Movie Management System developed with Ruby on Rails. It allows users to manage movies, genres, and directors. It implements a CRUD (Create, Read, Update, Delete) for entities and allows for the upload of movie banner images.
-
Bullet (N+1 Query Detection)
During development, the Bullet gem is used to detect and alert about inefficiencies in loading SQL queries, such as the N+1 query problem. -
Kaminari (Pagination)
The Kaminari gem is used for pagination of records in listings, making navigation through large datasets more efficient. -
Active Storage (File Management)
The application also uses Active Storage for uploading and managing files, such as movie banners.
To run this project using Docker, follow the steps below:
Make sure you have Docker and Docker Compose installed on your machine.
- Clone the related repository:
git clone [email protected]:SamuelRocha91/rails_movies_catalog.git
- Navigate to the project folder:
cd rails_movies_catalog
- Run the docker command:
docker-compose up
- Access the browser at:
http://0.0.0.0:3000/
-
Clone the repository:
git clone [email protected]:SamuelRocha91/rails_movies_catalog.git
-
Navigate to the project directory:
cd rails_movies_catalog
-
Install the dependencies:
bundle install
-
Configure the database:
rails db:create rails db:migrate rails db:seed
-
Run the application:
rails server