https://best-movies-sep-6.vercel.app/
https://best-movies-sep6.azurewebsites.net/
1. To run the project in a Docker container, open the terminal and navigate to the "BestMovies-SEP6" directory.
cd BestMovies-SEP6
2. Run the following command in the terminal:
docker-compose up
After running docker-compose up in the terminal and if Docker Desktop is installed, it will create and start the containers defined in the Docker Compose YAML file.
3. Run the following command to stop the running containers:
docker-compose down
Alternatively, open Docker Desktop (if installed), locate the running containers and stop them from there.
Method | Endpoint | Description |
---|---|---|
POST | /signup |
Register user |
POST | /signin |
Login user |
GET | /me |
Get user data |
PATCH | /me |
Update user data |
Method | Endpoint | Description |
---|---|---|
POST | / |
Add a favorite movie |
GET | / |
Get all favorite movies |
GET | /:movieId |
Get a favorite movie by ID |
DELETE | /:movieId |
Delete a favorite movie |
Method | Endpoint | Description |
---|---|---|
POST | / |
Create a rating |
GET | / |
Get all ratings |
GET | /:id |
Get a rating by ID |
PATCH | /:id |
Update a rating |
Username | Student |
---|---|
LiaCicati | Lia Cicati |
LoredanaCicati | Loredana Cicati |