review-aggregation-app

The destination for movie details, reviews, ratings, previews and more

View the Project on GitHub j-gens/review-aggregation-app

reVIEW

alt hollywood sign

Overview

This photo carousel service was designed and written for a review-aggregation app for visual media.

Team Members

My Contribution

Technologies

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

  1. Clone the repository onto your local machine
    $ git clone https://github.com/j-gens/review-aggregation-app.git
    
  2. Change directories into the review-aggregation-app root directory
    $ cd review-aggregation-app
    
  3. Install the dependencies in a local node_modules folder
    $ npm install
    
  4. Seed your MongoDB database
    $ npm run-script seed
    
  5. Assemble the bundle within the public folder
    $ npm run-script build
    
  6. Start the server on your local machine
    $ npm start
    

    View in browser by going to http://localhost:3100. The client side it set up with a default movie title to query the server if none is entered.

alt photo carousel preview

Clicking on any of the the thumbnail images will open up the modal and allow for cycling through the full-size images.

alt modal preview

Testing

Tests have been split into two categories: front-end and back-end. Both categories of tests use Jest as the test runner, mocking, and assertion library.

Front-end tests have also been written with Enzyme for additional testing utility. The first time you run the front-end tests, Jest will create snapshots and corresponding folder within /spec/client/ for you. Run the front-end tests with the following command:

$ npm run-script test:client

Back-end tests have also been written with SuperTest for endpoint testing. Run the back-end tests with the following command:

$ npm run-script test:server

License

This project is licensed under the MIT License - see the LICENSE file for details