- React
- Springboot 3.0
- role base access (ROLE_CUSTOMER, ROLE_RESTAURANT_OWNER)
- Spring starter mai;
- json web token
- My SQL (Data base)
- Tailwind css
- Mui (css component library)
- Redux (State managment library)
- Axios
- stripe payment gatway
-
vs code (react)
-
Model
-
User
Long id; fullName; email; password; role; orders; favorites addresses status;
-
Restaurant
public class Restaurant { id; owner; name; description; cuisineType; address; contactInformation; openingHours; reviews; orders; numRating; images; registrationDate; open; foods; }
-
Food
public class Food { id; name; description; price; foodCategory; images; available; restaurant; isVegetarian; isSeasonal; ingredients; creationDate; }
-
Food Category
public class Category { id; name; restaurant; }
-
Ingredients
public class IngredientCategory { id; name; restaurant; ingredients; }
public class IngredientsItem { id; name; category; restaurant; inStock; }
-
Event
public class Events { id; image; startedAt; endsAt; name; restaurant; location; }
-
Order
public class Order { id; customer; restaurant; totalAmount; orderStatus; createdAt; deliveryAddress; items; payment; totalItem; totalPrice; }
-
order item
public class OrderItem { id; food; quantity; totalPrice; ingredients; }
-
Cart
public class Cart { id; customer; items; total; }
-
Cart Item
public class CartItem { id; cart; food; quantity; ingredients; totalPrice; }
-
project_root/ │ ├── src/ │ ├── controllers/ // Controllers handle request/response logic │ │ ├── itemController.js │ │ └── ... │ │ │ ├── models/ // Database models/schema │ │ ├── itemModel.js │ │ └── ... │ │ │ ├── routes/ // API routes │ │ ├── itemRoutes.js │ │ └── ... │ │ │ ├── services/ // Business logic and data processing │ │ ├── itemService.js │ │ └── ... │ │ │ └── app.js // Entry point of the application │ ├── .env // Environment variables ├── package.json // Project dependencies and metadata └── ...
-
spring boot
- React
- Spring boot
- spring security
- role base access (ROLE_CUSTOMER, ROLE_RESTAURANT_OWNER)
- spring start mail
- jeson web token
- Mysql(Data base)
- Tailwind css
- Mui (css component library)
- Redux (State managment library)
- Axios
- strip payment gatway
- intellij idea (spring boot)
- vs code (react)