Username- NosuAi Password- 1234
This project is a Hostel Menu Diet Website that helps users plan their diet using Gemini API. The platform includes features such as:
- User Input Section 📝
- Roadmap Section 🛤️
- Chat with Trimly 💬
Built using React for the frontend and Node.js + Express for the backend.
- Frontend: React, Vite, CSS
- Backend: Node.js, Express.js
- API: Gemini API
- Deployment: Vercel (Frontend), Render (Backend)
git clone https://github.com/your-repo-url.git
cd your-project-folder
cd frontend
npm install
npm run dev
cd backend
npm install
node server.js
Features
User Input Section: Allows users to input hostel menu details.
Roadmap Section: Generates a personalized diet plan.
Chat with Trimly: AI-powered chat assistant for diet queries.
🚀 Deployment Guide
Frontend (Vercel)
Push the frontend code to GitHub.
Go to Vercel, create a project, and select the frontend repository.
Set the build command to:
npm run build
Set the output directory to:
frontend/build
Deploy and get the frontend URL!
Backend (Render)
Push the backend code to GitHub.
Go to Render, create a new web service, and select the backend repository.
Set the start command:
node server.js
Add environment variables (like MONGO_URI, PORT).
Deploy and get the backend URL!
Update Frontend API Calls
Find where API calls are made in the frontend and update them:
🤝 Contributing
Feel free to submit issues and pull requests!