A full-stack food ordering platform that allows users to browse restaurants, order food, and track deliveries. The application consists of a Spring Boot backend and React frontend.
├── backend/ # Spring Boot backend
│ ├── src/
│ │ ├── main/
│ │ │ ├── java/ # Java source files
│ │ │ └── resources/ # Application properties
│ │ └── test/ # Test files
│ └── pom.xml # Maven dependencies
│
└── frontend/ # React frontend
├── public/ # Static files
├── src/
│ ├── components/ # React components
│ ├── routes/ # Route definitions
│ ├── state/ # Redux state management
│ └── theme/ # Theme configuration
├── package.json # NPM dependencies
└── tailwind.config.js
backend/src/main/resources/application.properties
cd backend
mvn spring-boot:run
The backend server will start on port 8080cd frontend
npm install
npm start
The frontend application will start on port 3000/api/auth/register
- Register new user/api/auth/login
- User login/api/users/profile
- Get user profile/api/users/profile
- Update user profile/api/restaurants
- List all restaurants/api/restaurants/{id}
- Get restaurant details/api/restaurants/{id}/menu
- Get restaurant menu/api/orders
- Create new order/api/orders
- Get user orders/api/orders/{id}
- Get order details/api/cart
- Get user's cart/api/cart/items
- Add item to cart/api/cart/items/{id}
- Update cart item/api/cart/items/{id}
- Remove item from cartFeel free to submit issues and enhancement requests.