EatWise is a professional, high-performance Progressive Web Application (PWA) designed to promote healthy eating habits. It encourages users to enjoy authentic Indian dishes but prepared using modern, healthy, low-oil, or zero-oil techniques.
🌐 Live URL: https://eatwise.pages.dev
- 🇮🇳 100% Authentic Indian Recipes: Includes a curated library of 25 popular Indian recipes (from breakfast options like Aloo Paratha to snacks like Samosas and mains like Biryani) customized specifically for Indian kitchens.
⚠️ High-Calorie Warnings: Indulgent or deep-fried dishes display warnings showing their estimated traditional calorie impact, recommending healthy alternatives instead.- 🌱 Low-Oil & Zero-Oil Alternatives: Every recipe includes step-by-step instructions for a healthy version, comparing traditional calories to the healthy option.
- 🎥 Hindi YouTube Tutorials: Handpicked, high-quality recipe videos (with Hindi audio) demonstrating the low-oil/zero-oil techniques.
- 🗣️ Bilingual (English & Hindi) Support: Multi-language side-by-side view for ingredients and preparation steps.
- ⚡ PWA & Offline Support: Installable on Android & iOS homescreens. Fully responsive layout optimized for mobile screens.
- 🔑 Hybrid Authentication: Firebase Auth & Firestore database integration with seamless automatic fallback to local storage for quick testing.
- Frontend: React (Vite), Tailwind CSS, Lucide Icons, Vite-PWA.
- Database & Authentication: Firebase (Auth & Firestore) / LocalStorage hybrid fallback.
- Hosting: Cloudflare Pages (Frontend).
- Node.js (v18+)
- npm
-
Clone the repository:
git clone https://github.com/Santanu-SP/EatWise.git cd EatWise -
Install Root & Client dependencies:
npm run build
-
Run Locally (Dev mode):
npm run dev
This will start the local Vite development server, running by default at
http://localhost:5173. It runs automatically in offline fallback mode using local storage.
- Link your GitHub account to Cloudflare Dashboard.
- Create a new Pages Project from Git and choose
EatWise. - Set the following Build parameters:
- Root directory:
client - Build command:
npm run build - Build output directory:
dist
- Root directory:
- Click deploy.
- Register a new Web App in your Firebase Console.
- Turn on Email/Password Provider in Authentication.
- Turn on Firestore Database in production or test mode.
- Replace the credentials in
client/src/firebase.jswith your Web App config keys.