Giter Club home page Giter Club logo

rottentomatoes's Introduction

Rotten Tomatoes Clone

A Rotten Tomatoes clone written in Ruby using the Ruby on Rails framework. It allows users to browse movies, view movie details, and leave reviews.

Installation

  1. Install Ruby (version 2.6.6 or later) and Ruby on Rails (version 4.2.11 or later).
  2. Clone this repository using git clone https://github.com/ramanv0/RottenTomatoes.git.
  3. Navigate to the project directory and run bundle install to install the required gems.
  4. Run rails db:migrate to set up the database.
  5. Run rails db:seed to load the seed data into the database.
  6. Run rails s to start the server.
  7. Open your web browser and go to http://localhost:3000 to view the application.

Usage

As a user, you can:

  • Browse movies by title, rating, release date, etc.
  • View details for a specific movie
  • CRUD reviews for movies

By default, the application comes with a pre-populated list of movies, but you can add your own movies as a user.

Testing

This project includes both Cucumber (written with Gherkin syntax) and RSpec tests.

To run the Cucumber tests, use the following command: bundle exec cucumber. The Cucumber tests and step definitions are located in the features directory.

To run the RSpec tests, use the following command: bundle exec rspec. The RSpec tests are located in the spec directory.

rottentomatoes's People

Contributors

ramanv0 avatar

Watchers

 avatar

Forkers

6510301026

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.