Code Monkey home page Code Monkey logo

nutri-planner-ai's Introduction

nutri-planner-AI

License: MIT

Description

The Nutri Planner AI app allows users to generate personalized meal plans based on their input parameters: weight, height, gender, food restrictions, protein count, calorie count, and any additional information. The app integrates with OPENAI API to generate optimized meal plans.

nutri-planner AI App Screenshot

Link to application

Application available at: https://nutri-planner-ai.herokuapp.com/

Table of Contents

Installation

npm install

Usage

The user can generate a personalized meal plan by providing specific information. In order to save the meal plan, the user must create an account.

To use the Nutri Planner AI application, follow the steps below:

Step 1: Create an Account Step 2: Log In Step 3: Generate a Meal Plan Step 4: View and Save Meal Plans Step 5: Edit Saved Meal Plans Titles Step 6: Expand and View Meal Plans

On the meals page, you can expand a meal plan card to view the entire meal plan. Click on the "Expand" button on the meal plan card to see the full details of the meal plan, including individual meals and their nutritional information.

Features

Users can input their weight, height, gender, food restrictions, protein count, calorie count, and additional information to generate a personalized meal plan.

User Authentication and Account

  • Users can create an account to access their account with saved meal plans.
  • User authentication is implemented using JSON Web Tokens (JWT).
  • Users can log in using their credentials and obtain a JWT for API requests.
  • The app securely stores user passwords using bcrypt for hashing and comparing.

Meal Plan Generation

  • Users can input their weight, height, gender, food restrictions, protein count, calorie count, and additional information to generate a personalized meal plan.
  • The app uses OPENAI to generate optimized meal plans based on the user inputs.
  • The generated meal plans include information such as protein count, calorie count, carbs, and fat content.

Saved Meal Plans

  • Users can save the generated meal plans to their account.
  • Each saved meal plan can have a personalized title.
  • Users can edit the title of their saved meal plans.

nutri-planner AI App Screenshot

Meal Plan Cards and Previews

  • The app displays the saved meal plans in the form of cards on the meals page.
  • Each card shows a preview of the meal plan, including protein count, calorie count, carbs, and fat content.
  • Users can expand a meal plan card to view the entire meal plan.

nutri-planner AI App Screenshot

License

License: MIT

This application is covered by MIT license, available at: https://opensource.org/licenses/MIT

Contributing

Please feel free to send a pull request, the following is my GitHub account: https://github.com/Renatatims

Tests

To run the application:

npm run develop 

Questions

If you have any questions please contact me at:

Credits

nutri-planner-ai's People

Contributors

renatatims avatar

Watchers

 avatar

nutri-planner-ai's Issues

Feature/deletePlan

  • Enable the user to delete a meal plan from their profile
  • Feature - clear all meal plans

Meal Plan page

To save the user's meal plan to the database and render to user's profile

Feature - Total Macros

  • Include Macros in each Meal + Total macros for the day
  • Preview include macros and description
  • Macros - carbs, protein, fat, and total calories,
  • TOTAL Meal plan MACROS

Feature - Title to Meal Plan

User may input a title to the meal plan
Title will be saved to the database - may be viewed in user's meal plan page
If user does not input a title, then it will be saved with a default value, depending on it's index in the database

feature/mealPlanCollapse

Meal plans will initially display a preview with only the first two lines
Users can click the "Show More" button (three dots) to expand or collapse the full meal plan.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.