Skip to content

Latest commit

 

History

History
133 lines (84 loc) · 3.66 KB

README_en.md

File metadata and controls

133 lines (84 loc) · 3.66 KB

Rails Projects Logo 🎬 Cine Memory - Movie Management SiteRails Projects Logo

🌐 Português Español English Русский 中文 العربية

Usage Demonstration

In Development

Overview

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.

Database Structure

Diagram

Used Gems

  • 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.

Project Setup

With Docker

To run this project using Docker, follow the steps below:

Prerequisites

Make sure you have Docker and Docker Compose installed on your machine.

Configuration

  1. Clone the related repository:
   git clone [email protected]:SamuelRocha91/rails_movies_catalog.git
  1. Navigate to the project folder:
   cd rails_movies_catalog
  1. Run the docker command:
   docker-compose up
  1. Access the browser at:
   http://0.0.0.0:3000/

Without Docker

  1. Clone the repository:

    git clone [email protected]:SamuelRocha91/rails_movies_catalog.git
  2. Navigate to the project directory:

    cd rails_movies_catalog
  3. Install the dependencies:

    bundle install
  4. Configure the database:

    rails db:create
    rails db:migrate
    rails db:seed
  5. Run the application:

    rails server

Features (Planned)

  • Movie Management:
    • Unit tests
    • Responsiveness

🔗 Outros Repositórios