





Movie-API backend
Description
movie_api is a robust RESTful API built with Node.js and Express, serving as the backend for the myFlix movie app. The API provides endpoints to access and manage a movie database, allowing users to register, log in, update their profile, and maintain a list of favorite movies. It follows modern security practices and is designed for scalable deployment and integration with client-side apps.
Features
-
User ManagementRegister, authenticate, update profile info, and securely delete users.
-
Movie DatabaseAccess a curated list of movies with detailed info (genre, director, description, image URL).
-
FavoritesAdd or remove movies from a personal favorites list.
-
FilteringRetrieve movies by title, genre, or director.
-
Secure AuthenticationJWT-based login and protected routes.
-
Secure AuthenticationNotifications: User actions are confirmed and errors are reported using friendly toast notifications
-
Input ValidationEnsures strong passwords, valid emails, and robust data types.
-
CORS SupportConfigured for cross-origin requests from deployed frontends
Highlights
- Built with Express.js for scalability and clean RESTful architecture.
- Uses Mongoose for schema modeling and MongoDB Atlas for cloud database.
-
Strong securitypassword hashing with bcrypt, JWT-based authentication, input validation.
- Modular, easy-to-maintain code structure with clear separation of routes, models, and middleware.
- Fully documented endpoints with usage examples for easy client integration (see README).
- Successfully deployed and integrated with Angular and React frontends.
Responsive Design
- Mobile and desktop views