TrustBite is a hyperlocal mess and tiffin discovery platform designed for college students living away from home. It helps students find reliable meal services using hygiene scores, real reviews, and AI-based recommendations.
College students in towns like Shirpur often struggle to find trustworthy mess or tiffin services. Information about hygiene, pricing, and food quality is scattered and based on word-of-mouth.
Students waste time and money trying unreliable options.
TrustBite provides a centralized platform where students can:
- Discover nearby mess and tiffin services
- View admin-verified hygiene scores
- Read real student reviews
- Get AI-based personalized recommendations
Goal: A student should be able to find a reliable mess in under 5 minutes.
- Register and login
- Browse nearby mess listings
- View hygiene scores and ratings
- Submit reviews
- Save favourite messes
- Get AI-based recommendations
- Register as a service provider
- Create and manage mess listings
- Update menu and pricing
- Upload photos
- Approve or reject mess listings
- Assign hygiene scores
- Moderate reviews
- Manage users
- Content-based recommendation system
- Uses mess attributes and student preferences
- Cosine similarity–based ranking
- Popularity-based fallback for new users
- React + Vite
- Tailwind CSS
- shadcn/ui
- React Hook Form + Zod
- Zustand (state management)
- Hosted on Vercel
- Python 3.11
- FastAPI
- SQLAlchemy
- Alembic migrations
- JWT authentication
- Hosted on Railway
- PostgreSQL (Railway managed)
- Scikit-learn
- Pandas
- NumPy
- Content-based recommendation engine
- GitHub for version control
- GitHub Actions for CI
- Vercel and Railway for automatic deployments
TrustBite follows a 3-tier monolithic architecture:
-
Frontend (React SPA)
- Hosted on Vercel
- Communicates with backend via REST APIs
-
Backend (FastAPI)
- Handles authentication, business logic, and APIs
- Integrates AI recommendation module
-
Database (PostgreSQL)
- Stores users, messes, reviews, menus, and favourites
- Mess owner registers and creates a listing.
- Admin reviews and assigns a hygiene score.
- Student logs in.
- Student browses approved messes.
- Student reads reviews and ratings.
- AI recommends top messes.
- Student chooses a mess.
backend/
├── main.py
├── config.py
├── database.py
├── models/
├── schemas/
├── routers/
├── services/
├── ai/
├── migrations/
└── requirements.txt
frontend/
├── src/
│ ├── pages/
│ ├── components/
│ ├── hooks/
│ ├── store/
│ ├── lib/
│ └── styles/
├── index.html
├── vite.config.js
└── tailwind.config.js
- Node.js 18+
- Python 3.11+
- PostgreSQL
git clone https://github.com/your-username/trustbite.git
cd trustbitecd backend
python -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
pip install -r requirements.txtCreate a .env file:
DATABASE_URL=postgresql://user:password@localhost:5432/trustbite
JWT_SECRET_KEY=your-secret-key
Run migrations:
alembic upgrade headStart backend:
uvicorn main:app --reloadBackend runs at:
http://localhost:8000
API docs:
http://localhost:8000/docs
cd frontend
npm installCreate .env file:
VITE_API_URL=http://localhost:8000/api/v1
Start frontend:
npm run devFrontend runs at:
http://localhost:5173
- Hosted on Vercel
- Auto-deploy on push to
main
- Hosted on Railway
- Auto-deploy on push to
main
- PostgreSQL via Railway
DATABASE_URL=
JWT_SECRET_KEY=
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=10080
CORS_ORIGINS=
CLOUDINARY_URL=
VITE_API_URL=
| Member | Role |
|---|---|
| Dipak | Tech Lead + Backend |
| Prachi | Frontend Lead |
| Bhushan | AI Engineer |
| Aakanksha | Admin UI + QA |
- Production-style architecture
- Fully deployed public system
- Real AI-based feature
- Clean UI and UX
- Resume-worthy engineering project
This project is developed as part of an academic semester project. License to be decided by the team.