Skip to content

Core functionality (Backend)

Ananya Mantravadi edited this page Nov 27, 2023 · 1 revision

Register

This is the page where a new user can register to use our application. It contains fields like username, email, password, current weight, current height, target weight which the user wants to achieve and the target date. All these fields, once entered, will store in the MongoDB database.

Login

This is the login page wherein the user can access the functionalities of our application.

Set User Profile

This is the page where the user can update his profile. The updated profile will update in the MongoDB database and display it in the frontend.

Enter Calories in

This is the page where the user can enter the calories taken. The dropdown contains various food items and its calories. Once selected, it will update it in the database.

Check Your Plan

This is the page where the user can see their history in the form of a bar graph. This graph contains the data from last 7 days. The user can see their progress and can keep a track of how much calories the user needs to burn or intake to achieve their goal within the target date. The x-axis contains the date from last 7 days to the current date and y-axis contains the calories.

Check Your BMI

image This page allows user to check their BMI by entering age, height, weight, and gender. They can also see where they fall with respect to the average of the country they are residing in. image

Adding Friends

- This page contains the list of "My Friends" and "Add friends". Add friends contains all the users who have registered to our application. By selecting the users, they will showup in "My friends" section. The main purpose of this is to share the calories data via email.

Email Notifier

image

  • This is a sample email notifier containing the calorie intake, calories burned, and net calories summarized over the last seven days.

Enter burnout

- This is the page where a user can enter the calories burnt. The value will be updated to the database.

Check your Enrolled Plans

- This is the page where you can see the plans that you are currently enrolled in and your current progress.

FitnessBot

FitnessBot
- This is the page where you can seek fitness advice from our FitnessBot which makes use of ChatGPT OpenAI API call to provide you with the best possible advice!