Skip to content

MT-dotse/project-mongo-api

 
 

Repository files navigation

Mongo API Project

I built an API using Express in Node.js and followed the RESTful standards. I learned how to use Mongodb to store data, model data, catch and return error messages and fetch items from a Mongo database using Mongoose. A dataset of Netflix titles was used for this project 🎥.

Documentation

GET /
Welcome page

GET /shows
Displays all 1375 netflix titles in the dataset.

----Query Params----

GET /shows?type=
Filters the dataset by type

GET /shows?country=
Filters the dataset by country

GET /shows?release_year=
Filters the dataset by release year

GET /shows?director=
Filters the dataset by director

----Path Params----

GET /shows/title/:title
Displays a netflix title based on the title parameter from the request URL.

GET /shows/id/:id
Displays a netflix title based on the unique id parameter. An error message will show if no titles are found by that id

View it live

https://mtdotse-netflix-mongo-api.herokuapp.com/shows

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%