Overview
This is the server-side component (REST API) for a movie web application. It allows frontend
applications
to access a database of movies, directors, and genres. It also handles user registration,
authentication,
and data security.
Objective
The goal was to build a RESTful API using Node.js and Express that interacts with a non-relational
database (MongoDB).
The project required implementing CRUD (Create, Read, Update, Delete) methods and adhering to security
standards.
Tech Stack
- Node.js & Express: Server-side logic and routing.
- MongoDB: NoSQL database for storing movie and user data.
- Mongoose: Object Data Modeling (ODM) library for MongoDB.
- Passport.js & JWT: Authentication and authorization.
- Heroku: Hosting platform.
Key Features
- User Authentication: Allows users to register and log in securely.
- Movie Data: Returns a list of all movies to the user.
- Director/Genre Info: Returns data about specific directors and genres.
- User Profiles: Users can update their personal info and delete their accounts.
- Favorites List: Users can add or remove movies from their list of favorites.
← Back to Work