A RESTful API for sharing and rating recipes built with Java and Spring Boot.
Class Diagram
- Clone the repository:
git clone https://github.com/rr1583/Midterm-iron-hack-rene.git
- Navigate to the project directory:
cd Midterm-iron-hack-rene
- Navigate to the project directory:
mvn spring-boot:run
-
Java 17
-
Spring Boot
-
Spring Data JPA
-
Spring Security
-
MySQL
-
Maven
-
Hibernate
-
GET /api/users: Get all users
-
GET /api/users/{id}: Get user by ID
-
POST /api/users: Create a new user
-
PUT /api/users/{id}: Update a user
-
DELETE /api/users/{id}: Delete a user
-
GET /recipes: Get all recipes
-
GET /recipes/{id}: Get recipe by ID
-
POST /recipes: Create a new recipe
-
PUT /recipes/{id}: Update a recipe
-
DELETE /recipes/{id}: Delete a recipe
-
GET /ratings: Get all ratings
-
GET /ratings/{id}: Get rating by ID
-
POST /ratings: Create a new rating
-
PUT /ratings/{id}: Update a rating
-
DELETE /ratings/{id}: Delete a rating
- Implement DTOs for better data management
- Add user authentication and authorization
- Enhance error handling and validation
René Reyes