Giter Club home page Giter Club logo

movie-sagas-master's Introduction

Movie Sagas

Description

Duration: Weekend Sprint

This project uses React, Redux, and Axios on the front end, alongside node and a postgresQL database to create a simple movie database GUI. Axios requests are made to the server, and stored in sagas. Those requests store the information that they return in redux reducers, which are accessed to show their information on the DOM.

The user can use the interface to see information about movies in the database. Users can click on the Learn More button to see the details page of that movie, and can press edit from there to edit the information of that movie.

See the deployed version here.

Usage

  1. Navigate from the start of the form by pressing proceed, and continuing through the prompts to the review page.
  2. You must enter a number between 1 and 5 in the first three feedback prompts. You may then enter comments.
  3. You can review your entries on the review page, then submit them if you are satisfied. If not, navigate back by clicking the prev buttons until you are back at the page you would like to change.
  4. Once you submit, you will see a success prompt, and will have the chance to navigate back to the home page.
  5. Admins may see all of the feedback information on the admin page.
  6. The admin may flag or delete each of the entries as they see fit.

Prerequisites

Link to software that is required to install the app (e.g. node).

Installation

  1. Get to main project directory in command line, and type in npm install to install required dependencies.
  2. Install postgreSQL at this link.
  3. Install postgreSQL GUI like Postico.
  4. Run commands from database.sql file in Postico to create table, in prime_feedback database.

Built With

  • node.js
  • Express.js
  • React
  • Redux
  • Redux-Sagas
  • postgreSQL
  • MaterialUI

Support

If you have any questions, feel free to email me at [email protected]


Where I want to go from here

  • Fix my Cards so that the movie descriptions do not run into the buttons at the bottom.
  • Allow the user to refresh the details or edit page. The url for the details page would be something like /details/1 for movie with id of 1. Research react router params.
  • Allow the user to add a genre to a movie.
  • Allow the user to remove a genre from a movie.
  • Only display the top 10 movies, and allow the user to search for movie titles with a search bar on the home page (you can do this on the client side or the server side, server side is a bigger stretch, but good practice).
  • Create an Admin page. Add a link from the Home page to the Admin page. The page should initially display a login form (an input for username and an input for password). When the user enters the correct username (camera) and password (action), the page should display a form to add genres to the database, and a list of all of the genres with an x to remove them from the database. Note: This isn't actually secure, but it's pretty fun, and really good practice.

movie-sagas-master's People

Contributors

patrick-baker avatar

Watchers

James Cloos avatar  avatar

Forkers

kai-peterson

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.