BiteRite is a full-stack web application that delivers AI-powered personalized recipes based on users’ dietary preferences, health conditions, and fitness goals.
It also features a community forum where users can share ideas, recipes, and interact with others.
- 🔐 Secure login/signup using Clerk
- ⚡ Persistent user sessions
- 📝 Guided onboarding to collect:
- Diet type
- Allergies
- Health conditions
- Fitness goals (weight loss, muscle gain, etc.)
- 💾 Stores user preferences in MongoDB
- 🤖 AI-powered recipes using Gemini API
- 🎯 Fully customized results based on user profile
- 📄 Clean and structured recipe display
- 📝 Create posts (text + images)
- 💬 Comment on posts
- ❤️ Like posts
- 🗑️ Delete your own posts
- 👀 View & edit personal information
- 🥗 Manage dietary & health preferences
- 🔄 Real-time database sync
- 🎨 Modern and responsive design
- 🌙 Dark mode support
- ⚡ Smooth interactions
- React.js (Vite)
- Tailwind CSS
- React Router
- Clerk Authentication
- Node.js
- Express.js
- MongoDB (Mongoose)
- Gemini API → AI recipe generation
- Unsplash API → Image integration
# 🔽 Clone the repository
git clone https://github.com/your-username/BiteRite.git
# 📂 Navigate into the project
cd BiteRite
# 📦 Install dependencies
npm install
# 🚀 Start development server
npm run devBiteRite includes comprehensive test coverage with Black Box Testing and White Box Testing.
# Backend Tests
cd backend
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # Coverage report
# Frontend Tests
cd frontend
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:ui # UI mode
npm run test:coverage # Coverage report- ✅ API Endpoint Testing (Black Box)
- ✅ Authentication Logic (White Box)
- ✅ Recipe Management (White Box)
- ✅ AI Service Integration (White Box)
- ✅ Component Testing (React)
- ✅ Page Integration (User Workflows)
- ✅ End-to-End Scenarios (Critical User Paths)
See TESTING_GUIDE.md for detailed information.