Giter Site home page Giter Site logo

movie-history-malicious-humans's People

Contributors

brendalong avatar gward2489 avatar hannahhall avatar jasonfigueroa avatar krnorris65 avatar megducharme avatar stevebrownlee avatar tgbowman avatar

Watchers

 avatar  avatar  avatar

Forkers

gward2489

movie-history-malicious-humans's Issues

Mark unwatched movie as watched

Given a user wanted to mark an unwatched movie as watched
When the user clicks the “Watched” link under the unwatched movie
Then a rating field will appear under the movie
And once the user has rated the movie, the rating will be added to the rating key on the userMovie object
And the watched key on the userMovie object will be changed to true

Search Your Movies

Given a user wants to search movies they have already tracked
When the user clicks the “Search Your Movies”
Then all the movies that they have added to their watchlist will appear in the body of the application
And the movie will display following information the movie name, year released, movie poster, top 5 actors and tagline
And all movies will have a button to remove the movie from the watchlist

Given a user only wants to see their unwatched movies
When the user clicks the “Show Unwatched” button
Then movies the user has already watched will be hidden so that only unwatched movies will appear
And a link to allow the user mark whether the movie has been watch will appear under the movie

Given a user only wants to see their watched movies
When the user clicks the “Show Watched” button
Then movies the user has not watched will be hidden so that only watched movies will appear
And the rating the user gave to the movie will appear under the movie

User can search the movie database

Given a user wants to search the movie database
When the user clicks the “Find New Movies” link in the navigation bar
Then an input field to type the movie the user wants to search for will appear
And once user clicks the search button, a list of movies that match the search will appear in the body of the application
And users will be able to see the following information about the movie: name, year released and movie poster
And user will have the option to add the movie to their watch list

Add movie to watchlist

Given user wants to add movie to their watch list
When user clicks on the “Add to Watchlist” link
Then Firebase will check to see if a movie with that movieId already exists in the database
And if the movie is not already in the database then the movie will be added to the trackedMovies object in the Firebase Database with keys of: movieId (id in the movie database API), name, year released, movie poster, top 5 major actors and tagline
And the movie will be linked to the user through the userMovie object with keys of: userId, movieId, rating and watched
And the rating key has a default value of 0 and the watched key has a default value of false

User Can Register An Account

Given a user wants to use Movie History
When the user first accesses the application
Then the user should see a welcome message
And the navigation bar with a link to Login/Register

Given a user wants to register an account with Movie History
When the user clicks the Login/Register link
Then a registration/login form should be displayed where the user can enter in an email address and password
And a Sign Up button will appear

Given a user wants to sign-in to their account with Movie History
When the user clicks the Login/Register link
Then a registration/login form should be displayed where the user can enter in an email address and password
And a Sign In button will appear

Firebase authorization will check to see if the email already exists in the system and alert the user of any errors

Navigation Bar

Given the user is not logged in
When the navigation bar is populated
Then the navigation bar only shows login/register button

Given the user is logged in
When the navigation bar is populated
Then the navigation bar shows: Find New Movies, Search Your Movies and Logout links

Delete Movie

Given user wants to remove a movie from their watchlist
When the user clicks the delete button on the movie
Then the movie is removed from their watchlist
And the userMovie object associated with that relationship will be deleted

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.