Skip to content

md1440/node-api-moviedb

Repository files navigation

MovieDB Rest Api

A NodeJS Rest Api utilizing a MongoDB Cloud Atlas database with ~ 23.5k documents. Live demo here.

Table of Contents

General Information

  • Final project of my JavaScript Developer Course (8w fulltime) with alfatraining GmbH
  • My inspiration was to explore backend development, to explore the world of apis
  • The goal was to build a robust and comprehensive api with clean code and modular architecture

Technologies Used

  • NodeJS
  • Express
  • Mogoose
  • MongoDb

Features

List the ready features here:

  • crud operations
  • filtering, sorting, limiting, pagination, search
  • mongodb equality operators

Screenshots

Example screenshot

Usage

CRUD Operations

Search Operations

Search for title, plot, cast, directors (all indexed). (OR) searches for either keyword, (AND) searches for both or all keywords.

Filters, Sorting, Limiting, Pagination, Fielding

Basically all movie properties can be filtered, like e.g. year, rating, cast, type, genres. The results can be sorted, it's possible to use equality operators and show only results with e.g. a rating greater or equal than (gte) a rating of 5, to only show results where the genres equals (eq) drama or to only project certain fields of the indiviual results, e.g. to show only title, rating, year, genres of each movie instead of all properties.

Alias and Aggregations

Project Status

Project is: complete. Unless inspiration strikes ;)

Room for Improvement

Room for improvement:

  • Authentication for delete operations

About

Movie Rest Api in NodeJS utilizing a MongoDB Cloud Atlas db

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published