Movie API

Introduction

RESTful API that fetches data about movies, directors, and genres from a MongoDB database, making HTTP requests to the server.

Objective

The API that fetches data from a MongoDB database was to be used in the React client side later.

Context

The API was part of the web development course at CareerFoundry to build skills in serverside programming.

Project brief Careerfoundry (source: Careerfoundry)

Tech Stack

  • Node.js
  • NPM
  • MongoDB
  • Mongoose
  • Express.js
  • Heroku

Key Features

  • Return a list of ALL movies to the user
  • Return data about a single movie by title to the user
  • Return data about a genre (description) by name/title (e.g., “Thriller”)
  • Return data about a director (bio, birth year, death year) by name
  • Allow new users to register
  • Allow users to update their user info
  • Allow users to add a movie to their list of favorites
  • Allow users to remove a movie from their list of favorites
  • Allow existing users to deregister