jeffreyfriedman / cinephile

Cinema review site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Code Climate Coverage Status

Cinephile

Cinephile is a code bootcamp class project to demonstrate full stack web dev skills using git version control and work flow. Users are able to post movies, create reviews on movies, and upvote or downvote reviews made by other users.

The project uses the following components:

  • Ruby on Rails
  • CarrierWave/Fog
  • React
  • AJAX
  • Javascript
  • Foundation

Demo

For a demo of the site, please visit our Heroku page here: Cinephile.

Setup

The app uses Ruby 2.3.1 and was developed on Ruby on Rails 5.0. React is served up in Node.js using webpack 1.13.2.

To install, please run the following in your terminal:

First, set up Rails

git clone https://github.com/noahmilstein/cinephile.git
cd cinephile
bundle install
rake db:create
rake db:migrate

Now set up webpack

npm install

To store image attachments, you will need to sign up for an Amazon Web Services. Once you have your AWS secret keys, create a .env file in the root directory, and add your AWS secret keys with the following format:

AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY>
AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
S3_BUCKET=<YOUR_S3_BUCKET>

Running the application

To run Cinephile, please run the following commands in your terminal from the cinephile directory:

rails s
npm start

Now open your browser and enter localhost:3000 in your address bar.

Testing

To run the test suite, please enter the following command from the cinephile root directory:

rspec

About

Cinema review site


Languages

Language:JavaScript 68.3%Language:Ruby 20.8%Language:HTML 7.2%Language:CSS 3.8%