Team: Codecrafters
Team Leader: Udit Sharma (2400351530032)
Personal Health Assistant Chatbot — a frontend-only demo that provides personalized diet suggestions, meal timings and sleep recommendations based on user-entered health profiles. All data (profiles & history) is stored locally in the browser using localStorage — no backend required for the demo.
- Save user profile (name, age, weight, height, goal)
- Generate rule-based recommendations: daily calories, sample meals, sleep/wake times, notes
- Chat-like interface to ask for recommendations
- Upload simple profile files (JSON / text) to prefill data
- History of previous recommendations stored in browser (localStorage)
- Quick demo-ready: open
index.htmlto run
- Clone the repository:
git clone <your-repo-url> - Open the project folder and double-click
index.html(or drag it into your browser).
Using Python:
python3 -m http.server 8000
# then open http://localhost:8000/index.html
Using VSCode Live Server:
- Install Live Server extension, open
index.html, and click "Open with Live Server".
- Fill the Profile form (left panel): name, age, weight (kg), height (cm), goal (maintain/lose/gain).
- Click Save Profile.
- Click Get Recommendation or ask in chat: "What should I eat today?"
- View recommendation (calories, meals, sleep, notes).
- Check History to view saved recommendations.
index.html— main demo page (chat UI + profile form)styles.css— stylingscript.js— client-side logic, recommendation engine, localStorageREADME.md— project description & instructions
- Push the repo to GitHub.
- In repository Settings → Pages, select branch
mainand folder/ (root). - Save — the site will be available at
https://<your-username>.github.io/<repo-name>/
- Data stored only in browser localStorage — clearing browser data removes profiles & history.
- No authentication or server-side storage. For production, integrate a backend and DB.
- Recommendation engine is rule-based and simple — extendable.
- Team: Codecrafters
- Team Leader: Udit Sharma — 2400351530032 (Project lead, Backend & Integration lead, final demo assembly)
- Tarun Gautam — 2400351530031 (Frontend & UI)
- Vivek Prashad — 2400350100052 (Chatbot logic & suggestion engine)
- Vikhyat Shrivastava — 2400351530034 (Database/Integration, deployment, docs & testing)
MIT