Nutrimate is a web application designed to help users manage and track their nutrition. Built with Next.js and TypeScript, it leverages Retrieval-Augmented Generation (RAG) based Generative AI to provide advanced insights and recommendations, offering an intuitive interface for meal planning, nutrient tracking, and personalized health advice.
- AI-Powered Nutrient Tracker: Log meals and monitor nutritional intake with AI-driven insights.
- Personalized Recommendations: Get diet suggestions based on your preferences, health goals, and real-time data.
- Interactive Dashboard: Visualize nutrient intake through dynamic charts.
- Responsive Design: Optimized for desktops, tablets, and mobile devices.
To set up and run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/nutrimate.git cd nutrimate
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and provide the necessary configurations. Example:API_URL=https://api.example.com NEXT_PUBLIC_ANALYTICS_ID=your-analytics-id
-
Run the development server:
npm run dev
Open http://localhost:3000 in your browser to view the app.
-
Build for production (optional):
npm run build npm start
nutrimate/
├── app/ # Main application code (pages, components, styles)
├── data/ # Static data and JSON files
├── scripts/ # Utility scripts
├── public/ # Public assets (images, icons, etc.)
├── .env # Environment variables
├── package.json # Project metadata and dependencies
├── tsconfig.json # TypeScript configuration
├── next.config.ts # Next.js configuration
└── README.md # Project documentation
- Frontend: Next.js, React, TypeScript
- Styling: CSS Modules, Tailwind CSS (if applicable)
- AI: Retrieval-Augmented Generation (RAG) with Generative AI, Python, Langchain and OpenAI
- Linting and Formatting: ESLint, Prettier
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.