-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose up-build.txt
More file actions
31 lines (21 loc) · 1.08 KB
/
docker-compose up-build.txt
File metadata and controls
31 lines (21 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### Usage
Once the containers are up and running, you can access the API using the following endpoints:
- `POST /recipes`: Add a new recipe.
- `GET /recipes`: Retrieve a list of all recipes.
- `GET /recipes/<recipe_id>`: Retrieve details of a specific recipe.
- `PUT /recipes/<recipe_id>`: Update a specific recipe.
- `DELETE /recipes/<recipe_id>`: Delete a specific recipe.
- `POST /recipes/<recipe_id>/ratings`: Rate a specific recipe.
- `POST /recipes/<recipe_id>/comments`: Comment on a specific recipe.
- `GET /recipes/<recipe_id>/comments`: Retrieve all comments for a specific recipe.
### Evaluation Criteria
- Code quality, readability, and organization.
- Proper implementation of the API and database interactions.
- Proper use of Docker for containerization.
- Handling edge cases and error scenarios.
### Bonus Tasks
- Implementation of user authentication, search functionality, recipe suggestions, and unit tests.
## Authors
- [Your Name]
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.