Food Fiesta is a high-performance Fullstack Project and Backend Project ecosystem. Developed using Java 25 and Spring Boot 3.4, this project demonstrates a modern REST API architecture integrated with a Postgres database.
#SpringBoot #Java #RestAPI #BackendProject #Postgres #FullstackProject #EnterpriseApp
Food Fiesta is a professional-grade, full-stack dining management ecosystem designed for high-end restaurant operations. Built with modern technologies, it offers a seamless blend of aesthetic excellence and robust backend logic.
Tip
Recruiters: Click the images below to view high-resolution previews of our premium UI/UX.
- π¨ Premium UI Overhaul: Implemented a cohesive "Burnt Orange & Slate" design language with glassmorphism components and fluid animations.
- π‘οΈ Secure Gateway: Role-based access control (RBAC) ensuring dedicated environments for Admins and Customers.
- π Smart Search: Case-insensitive, partial-match product discovery powered by optimized JPA queries.
- π¦ Inventory Suite: Comprehensive management for food categories (Biryani, North Indian, Chinese, Desserts).
- π Social Authentication: Integrated Google OAuth2 for seamless signup and login experience.
- π Interactive Documentation: Full OpenAPI/Swagger integration allowing for direct API testing and exploration.
- π Real-time Order Tracking: Personalized order history and status tracking for registered users.
| Layer | Technology |
|---|---|
| Backend | Java 25, Spring Boot 3.4.2, Spring Security, Hibernate |
| Database | PostgreSQL |
| Documentation | SpringDoc OpenAPI (Swagger UI) |
| Frontend | Thymeleaf, Vanilla CSS (Modern CSS3 Variables), JavaScript |
| Build Tool | Maven (wrapper included) |
| API Testing | Postman, Swagger |
The following diagram illustrates the relationship between the core entities in the Food Fiesta ecosystem:
erDiagram
USER ||--o{ ORDERS : "places"
USER {
int u_id PK
string uname
string uemail
string upassword
long unumber
}
ADMIN {
int adminId PK
string adminName
string adminEmail
string adminPassword
string adminNumber
}
PRODUCT {
int pid PK
string pname
double pprice
string pdescription
}
ORDERS {
int oId PK
string oName
double oPrice
int oQuantity
date orderDate
double totalAmmout
int user_u_id FK
}
- JDK 21 or later (Java 25 recommended)
- PostgreSQL (running on port 5432)
- Maven 3.8+
- Clone the Project
git clone https://github.com/imrajeevnayan/Food-Fiesta.git
The application is fully dockerized for seamless deployment.
docker build -t food-fiesta .docker run -p 8080:8080 --name food-fiesta-app food-fiestaLaunch both the App and the PostgreSQL database with a single command:
docker-compose up -dTip
Use docker-compose logs -f app to follow the application logs.
Note
Ensure you have a PostgreSQL instance running and accessible if not using Compose. You can override database credentials using environment variables:
docker run -e SPRING_DATASOURCE_URL=... -p 8080:8080 food-fiesta
-
Configure PostgreSQL Update
src/main/resources/application.propertieswith your local database credentials:spring.datasource.url=jdbc:postgresql://localhost:5432/foodfiesta spring.datasource.username=YOUR_USERNAME spring.datasource.password=YOUR_PASSWORD
-
Configure Google OAuth2 (Optional but Recommended) To enable and use Google Login:
- Go to Google Cloud Console.
- Create a new project and navigate to APIs & Services > Credentials.
- Create an OAuth 2.0 Client ID.
- Add
http://localhost:8080/login/oauth2/code/googleto the Authorized redirect URIs. - Update
src/main/resources/application.propertieswith your credentials:spring.security.oauth2.client.registration.google.client-id=YOUR_CLIENT_ID spring.security.oauth2.client.registration.google.client-secret=YOUR_CLIENT_SECRET
-
Build & Execute
./mvnw clean install ./mvnw spring-boot:run
-
Explore the App
- Frontend: http://localhost:8080/
- API Docs: http://localhost:8080/swagger-ui/index.html
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Developed with β€οΈ by imrajeevnayan





