{"id":28436342,"url":"https://github.com/praneeth-katuri/plan-your-diet","last_synced_at":"2025-06-27T18:31:19.907Z","repository":{"id":294870968,"uuid":"988315125","full_name":"praneeth-katuri/plan-your-diet","owner":"praneeth-katuri","description":"AI based full-stack web app for personalized diet planning, nutrition tracking, and healthy lifestyle management.","archived":false,"fork":false,"pushed_at":"2025-06-22T17:01:23.000Z","size":11546,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T17:37:12.996Z","etag":null,"topics":["expressjs","nodejs","openai","postgresql","prisma-orm","reactjs"],"latest_commit_sha":null,"homepage":"https://planyourdiet.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/praneeth-katuri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-22T11:18:15.000Z","updated_at":"2025-06-22T17:07:05.000Z","dependencies_parsed_at":"2025-05-26T08:32:17.333Z","dependency_job_id":"680b6ff9-8c22-4aef-bd96-4a1fcad89f8b","html_url":"https://github.com/praneeth-katuri/plan-your-diet","commit_stats":null,"previous_names":["praneeth-katuri/planyourdiet","praneeth-katuri/plan-your-diet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/praneeth-katuri/plan-your-diet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praneeth-katuri%2Fplan-your-diet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praneeth-katuri%2Fplan-your-diet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praneeth-katuri%2Fplan-your-diet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praneeth-katuri%2Fplan-your-diet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praneeth-katuri","download_url":"https://codeload.github.com/praneeth-katuri/plan-your-diet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praneeth-katuri%2Fplan-your-diet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262310781,"owners_count":23291620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","nodejs","openai","postgresql","prisma-orm","reactjs"],"created_at":"2025-06-05T22:07:59.270Z","updated_at":"2025-06-27T18:31:19.866Z","avatar_url":"https://github.com/praneeth-katuri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlanYourDiet\n\n**PlanYourDiet** is a full-stack AI-driven diet planning application that allows users to receive personalized weekly diet plans based on their goals, preferences, and allergies.\n\n## Preview\n\n### Home Page and Food Tips\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./screenshots/home.png\" width=\"45%\" /\u003e\n  \u003cimg src=\"./screenshots/foodtips.png\" width=\"45%\" /\u003e\n\u003c/p\u003e\n\n### Diet Plan and Edit Profile\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./screenshots/dietplan.png\" width=\"45%\" /\u003e\n  \u003cimg src=\"./screenshots/editprofile.png\" width=\"45%\" /\u003e\n\u003c/p\u003e\n\n### Login and Register\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./screenshots/login.png\" width=\"45%\" /\u003e\n  \u003cimg src=\"./screenshots/register.png\" width=\"45%\" /\u003e\n\u003c/p\u003e\n\n---\n\n## Tech Stack\n\n- **Frontend**: React.js, Tailwind CSS, React Hook Form, Zod, axios\n- **Backend**: Node.js, Express.js, Prisma ORM\n- **Database**: PostgreSQL\n- **Authentication**: JWT (access + refresh tokens)\n- **AI Integration**: Together.ai (LLaMA 3 70B) for meal plan generation\n\n---\n\n## Features\n\n- User Registration \u0026 Login\n- Profile Setup: age, weight, height, diet type, allergies, etc.\n- AI-generated 7-day weekly meal plans (macros + calories)\n- View meals categorized by day and time (breakfast/lunch/etc.)\n- Regenerate plans when needed\n- JWT Authentication with refresh token auto-renewal, setup using axios interceptors and react context API\n- responsive UI\n\n---\n\n## Setup Instructions\n\n### 1. Clone the Repository\n\n```bash\ngit clone --depth 1 https://github.com/praneeth-katuri/plan-your-diet.git\ncd plan-your-diet\n```\n\n### 2. Setup Backend\n\n```bash\ncd server\nnpm install\ncp .env.example .env   # add your secrets into .env (IMPORTANT)\n\n# Migrate DB\nnpx prisma migrate dev\n\n# Start server\nnpm run dev\n```\n\n### 3. Setup Frontend\n\n```bash\ncd ../client\nnpm install\nnpm run dev\n```\n\n---\n\n\n## Planned Improvements\n\n- PDF export for diet plans\n- Dark mode support\n- Nutrition label suggestions\n- AI chatbot for food alternatives\n\n---\n\n## License\n\nMIT © 2025 [Praneeth Katuri](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraneeth-katuri%2Fplan-your-diet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraneeth-katuri%2Fplan-your-diet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraneeth-katuri%2Fplan-your-diet/lists"}