Movie Management: Browse a list of movies and view detailed descriptions.
Reviews: Users can write comments on movies.
Ratings: Users can rate movies, and the app calculates the average score.
Search: Real-time search by title or description.
Frontend: HTML5, CSS3, Vanilla JavaScript (Fetch API)Backend: Node.js, Express.js
Database: MySQL
Dependencies: cors, mysql2, express
| Method | Endpoint | Description |
|---|---|---|
| POST | /register | Create a new user account |
| POST | /login | Authenticate user |
| GET | /movies | Get list of all movies |
| POST | /movies | Add a new movie to the DB |
| GET | /movies/:id | Get specific movie details |
| GET | /movies/:id/reviews | Get all reviews for a movie |
| POST | /movies/:id/rating | Submit a star rating |
| GET | /search?q=... | Search movies by query |