← All Projects
Marketplace · Full Stack · React + Spring Boot

MANA —
Taste of Home

A home-cooked food marketplace connecting local cooks with people craving authentic meals. I inherited this as a rough 20%-complete starter project — plaintext passwords, no auth, no validation — and rebuilt it into a working full-stack app.

🍱 Home Food Marketplace 🔧 Rebuilt from Broken Starter React + Spring Boot + MySQL JWT Auth
12
Critical bugs fixed
4/8
Build phases complete
MySQL
Spring Boot + JPA
JWT
Spring Security auth
The Real Story

I Didn't Start From Scratch — I Started From Broken

MANA began as roughly a 20%-finished starter project. Before adding any new features, I had to fix fundamental security and architecture problems. Here's exactly what was wrong and what I did about it.

Security
Plaintext Passwords → Proper Hashing
The starter stored user passwords in plain text in the database. Implemented Spring Security with proper password hashing and JWT-based authentication from the ground up.
Backend
No CORS Config → Working Cross-Origin Setup
Frontend couldn't talk to backend at all due to missing CORS configuration. Added proper CORS policies so React and Spring Boot could actually communicate.
Data Integrity
No Validation → DTOs + Input Validation
Endpoints accepted any input with no validation. Added proper DTOs (Data Transfer Objects) and validation layers to reject bad data before it touched the database.
IDs
Fragile ID Scheme → UUID Generation
Replaced a fragile auto-increment ID approach with proper UUID generation for entities — safer for a distributed, production-style system.
UI Prototype

MANA Marketplace — Interface Preview

This is a front-end interaction prototype showing the intended browsing and ordering experience. Backend order-processing for this exact flow is part of the next build phase.

🍱 MANA — Taste of Home · Hyderabad
UI Preview
Dietary Preference
Priya Krishnamurthy
⭐ 4.9 · Andhra Meals · Kukatpally · 234 orders
0 items in cart
₹0
How It's Built

Build Phases — 4 of 8 Complete

01
Done · Foundation
Critical Bug Fixes & Security
Fixed plaintext password storage, missing CORS config, absent input validation, and fragile ID generation. This phase made the app safe to build on top of.
Spring SecurityCORSDTOsUUID
02
Done · Auth
JWT Authentication
Implemented full JWT-based auth flow with Spring Security — login, signup, and protected routes on both frontend and backend.
JWTSpring SecurityProtected Routes
03
Done · Core Pages
React Router Pages & Cook Discovery
Built out core React pages with React Router v6 — cook discovery with story cards showing live mood/status, dish browsing with health tags, and subscription plan selection (Trial / Weekly / Monthly).
React Router v6Cook CardsHealth Tags
04
Done · Orders
Order System & Cart
Built the order creation flow end-to-end — cart management, order submission, and order history, backed by real Spring Boot REST endpoints and MySQL persistence via JPA.
REST APIMySQLJPA
05
🔜 Next
AI-Powered Meal Matching
Planned: goal-based meal recommendations (weight loss, high protein, etc.) matching user dietary goals against dish health tags.
Planned
06
🔜 Next
Real-Time Order Tracking
Planned: WebSocket-based live order status updates so users can track preparation and delivery in real time.
PlannedWebSocket
07
🔜 Next
Payment Integration
Planned: real payment gateway integration for order checkout.
Planned
08
🔜 Next
Production Deployment
Planned: containerized deployment using the existing docker-compose setup, on a public URL.
DockerPlanned
Tech Stack

What's Actually Under the Hood

Frontend
React 18 + React Router v6
Component-based architecture with client-side routing. Design system uses Playfair Display (headings), Plus Jakarta Sans (body), and DM Mono (accents) — with a warm orange (#e85d26) and green (#2d7a4f) palette matching the home-cooking theme.
Backend
Spring Boot 3.2 + Spring Security
REST API backend with JWT-based authentication, DTO-based request validation, and a global exception handler for consistent error responses across all endpoints.
Database
MySQL + JPA/Hibernate
Relational schema for users, cooks, dishes, and orders — managed through Spring Data JPA. No NoSQL layer; a single well-structured relational database.
Infra
Docker Compose
Containerized local development setup with docker-compose, ready for deployment once the final build phases are complete.