Skip to content

kartikey004/FeastioBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feastio Backend

Backend server for Feastio, responsible for handling API requests, authentication, and business logic.


Table of Contents


Overview

Feastio Backend is the server-side component of the Feastio platform, built using Node.js and Express.js, with MongoDB for data storage and Firebase for additional services.

The backend provides the core functionality to support the AI-driven meal planning and health assistant, including:

  • API endpoints to manage 7-day meal plans, including ingredients, cooking time, and detailed macronutrient information.
  • Integration with the Gemini API to facilitate a conversational health and fitness assistant.
  • Daily nutrition tips management, including auto-refreshing content for enhanced user engagement.
  • User personalization logic based on diet, allergies, activity levels, and health preferences.
  • Support for Menstrual Health preferences (Regular, Irregular, PCOS, Menopause) for female users, enabling context-aware and inclusive meal planning.
  • Secure authentication and authorization, including OTP email verification via Nodemailer.

Feastio Backend ensures a robust, scalable, and secure foundation for delivering a personalized nutrition and health experience across the platform.


Tech Stack

  • Runtime: Node.js
  • Language: JavaScript
  • Package Manager: pnpm (recommended)
  • Framework: Express.js
  • Database: MongoDB
  • Authentication: JWT

Setup and Installation

Clone the repository:

git clone https://github.com/kartikey004/FeastioBackend.git
cd FeastioBackend

# Using pnpm
pnpm install

# Or using npm
npm install

# Create a .env file in the root directory and configure the required environment variables

Running the Server

# For development
pnpm dev

# For production
node server.js

Contact

For any questions, issues, or suggestions regarding this project, you can reach out to:

About

Backend for Feastio app handling meal plans, nutrition data, and personalized suggestions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published