GithubHelp home page GithubHelp logo

justinclanglinais / movieshelffe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmclean-coder/movieshelffe

0.0 1.0 0.0 348.21 MB

Movie Shelf is an app which allows a user to search for movies and add them to their own "shelf", where they can keep track of and rate them as they watch them. Front end built with React.js, custom hooks, and Bootstrap base with custom CSS on top.

HTML 7.35% CSS 5.51% JavaScript 87.14%
react reactjs hooks bootstrap css

movieshelffe's Introduction

Flatiron School: Seattle 0420 Cohort

MovieShelf: Module 4 Project

Welcome

Description:

This project was designed to enable a user to create their own movie library by accessing a massive database of movies, and deleting/modifying information as they please. Key features are as follows:

  • Routing with React Router

Pages

  • Search movies from OMDB and add them to your shelf

Search Movies

  • Handling of invalid search/can't find movie

Search Error

  • View Movie Details

Details

  • Filter movies on your shelf by genre

Filter Genre

  • See the default movie poster

Default

  • Edit a movie's poster

Edit Form

  • Delete a movie

Delete

The backend of the application leverages Ruby on Rails API functionality to receive and send AJAX requests in a JSON formate. The interactive frontend is build on ReactJS, HTML, and CSS.

Team:

  • Colton Kaiser
  • Justin Langlinais
  • Joshua Mclean
  • Trevor Low

Dependencies:

  • Node Package Manager (NPM)
  • Developed on Google Chrome (80.0.3987.149)
  • ReactJS
  • React Bootstrap
  • React Router

Server Dependencies

Refer to the backend repo at https://github.com/jmclean-coder/MovieShelfBE for instructions to set up the backend server and PostGreSQL

Installation:

Download this entire git repository to your computer and place in your desired install directory.

If you don't have the above dependencies:

First, if you do not currently have Node Package Manager (NPM), follow their guide here: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm.

Next, to install ReactJS, React Bootstrap, and React Router, in a terminal navigate to the directory in which you installed this repo, then execute npm install react react-dom --save. Then, run npm install webpack webpack-dev-server webpack-cli --save, npm install react-bootstrap bootstrap, and npm install --save react-router-dom

Finally, execute npm install to install all other required node packages.

External API Setup - Frontend

The movie search functionality requires the setup of the Open Movie Database API with your own personal key. Visit http://www.omdbapi.com/ to obtain a key. Once you have your key, navigate to the root directory of the project (MOVIESHELF-FRONTEND) and create a .env file. Inside this file on the first line type: REACT_APP_API_KEY=yourapikey. This file will automatically be added to the .gitignore. In App.js on line 10, notice that the URL is being passed the api key via the environment variable, instead of it be hard-coded in. To maintain security, be sure to use the environment varible to refer to your key anywhere you use it.

Running:

This project was designed as a proof of concept so it requires hosting locally. To start hosting the local server navigate to the directory in which this repo was installed. Then, via a terminal interface execute npm start. If you started your rails server before this you will be prompted to enter Y/N to use an unoccupied port. Enter y and after a moment your browser should automatically load the application. At this point the application will load and all functionality should be available.

License

Copyright 2020 Colton Kaiser, Joshua Mclean, Justin Langlinais, Trevor Low

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

movieshelffe's People

Contributors

jmclean-coder avatar ckaiser258 avatar justinclanglinais avatar tklow94 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

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.