Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo API #493

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Project Mongo API

Replace this readme with your own information about your project.

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
This project implements a RESTful API using Express and MongoDB to manage and serve Netflix titles data. It includes endpoints to fetch collections of titles, individual titles, and filter titles by type (movie or TV show).

## The problem

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
The task involved creating a RESTful API that interacts with a MongoDB database to store and serve Netflix titles data. The approach taken was to use Express.js for handling HTTP requests, Mongoose for modeling data and interacting with the MongoDB database, and Cors for enabling cross-origin resource sharing. The project utilized a seed data function to populate the database with Netflix titles data from a JSON file. The implemented endpoints enable fetching all titles, titles of a specific type (movie or TV show), and a single title by its ID.

## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
https://project-mongo-api-f26silw6ya-lz.a.run.app/
Loading