This project simulates a toy store system with users, products, categories, and shopping carts. Reviews are a future feature. Main Entities
User: Simulated user with name, email, and password.
Product: Toy with name, price, image URL and featured.
Category: Product category (e.g., Rubber Duck, Board Games, Dolls).
Cart: Shopping cart with products and quantities per user. (coming soon).
Review: Product review and rating (coming soon).
Simulated via Postman
Available Endpoints:
GET /api/users — List all users
GET /api/users/{id} — Get user details
POST /api/users — Create user
PUT /api/users/{id} — Update user
DELETE /api/users/{id} — Delete user
GET /api/products — List all products
GET /api/products/{id} — Get product details
POST /api/products — Create product
PUT /api/products/{id} — Update product
DELETE /api/products/{id} — Delete product
GET /api/categories — List all categories
POST /api/categories — Create category
PUT /api/categories/{id} — Update category
DELETE /api/categories/{id} — Delete category
Cart and Reviews: Coming soon!
Includes: Diagrams
https://ibb.co/chT9WxVP and https://ibb.co/YFDSvFhJ
Technologies Used:
Java 21
Spring Boot
Hibernate / JPA
Maven
Postman
JUnit + Mockito Swagger, CloudinaryClone the repo: git clone https://github.com/ToyStoreProject/toy-store-backend
cd toystore-backend
Mary Ana Bruna Mariya