Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.95 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.95 KB

movie_api (myMovies)

This web application will give users access to information about various movies, directors, and genres. Users will be able to sign up for the service, update their personal information, and create a list of their favorite films.

Built With

This REST API was created with:

  • HTML;
  • CSS;
  • JavaScript;
  • Node.js;
  • MongoDB.

Link to hosted version of the app

Look it up friends!

Essential Features

User Goals

Users should be able to :

  • Return data (description, genre, director, image URL, whether featured or not) about a single movie by title to the user movies or update their user information, including their "Favorite Movies" list.
  • Return details about a genre (description) by name/title ( e.g, "Thriller").
  • By name, return information about a director (bio, birth year, death year).
  • Allow to sign up (new users).
  • Modify their confidential info (username, password, email, date of birth).
  • Allow additions of movies to their favourites list.
  • Allow removal of movies from their favourites list.
  • facilitate their deregistration.

Technicalities.

  • The API is written in Node.js and Express.
  • The API has a RESTful architecture, with URL endpoints matching to the aforementioned data activities.
  • At least three middleware modules are used by the API, including the body-parser package for reading data from requests and morgan for logging.
  • A "package.json" file is used by the API.
  • MongoDB is used to build the database.
  • Mongoose is used to model the business logic.
  • The API returns movie data in JSON format.
  • Postman was used to phase test the API.
  • The API supports user authentication as well as an authorisation code.
  • The API includes data validation logic.
  • The API complies with data security standards.

Acknowledgments

  • CareerFoundry tutors and mentors.