ContriHUB / EAT_EASY

EatEasy- A mess management website , Managing Complaints Mastering Satisfaction
MIT License
0 stars 17 forks source link

Modify Calorie Intake Calculator #12

Open Codipk opened 5 days ago

Codipk commented 5 days ago

Description

The current calorie calculator in the EatEasy project needs to be updated to display calories and nutritional information based on the mess menu. Users should be able to select a day and the corresponding meals (breakfast, lunch, snacks, dinner) for that day, and the system should show the collective calorie count along with other nutritional details like fats, proteins, and carbohydrates.

Why is this feature important to you?

This feature is important to provide users with an accurate understanding of their daily calorie intake and nutritional breakdown, allowing them to make informed dietary choices. It will also make the app more personalized and user-friendly.

Current behavior

Users manually enter the food name and quantity to get the calorie count for each item.

Screenshot 2024-10-11 at 9 52 50 AM

Expected

  1. Users select a day and meals (breakfast, lunch, snacks, dinner) from the mess menu.
  2. The app shows:
    1. Total calories for each meal and the entire day.
    2. Additional nutritional details like fats, proteins, and carbohydrates.

Additional context

You have to use Pie charts to represent all these things in one. Alternative solutions might include providing a breakdown of individual dish calories and nutrients for more granularity. You may consider integrating an external API or database for nutritional data if needed.

Neelansh-20243176 commented 5 days ago

Please assign me this issue. I am willing to work on this

Codipk commented 5 days ago

@Neelansh-20243176 Make the assignment request from contrihub website

priyanshi-1316 commented 5 days ago

Can you please assign this issue to me, i would be happy to work on this if it has not been assigned till now i have already sent an assignment request from the website.

Codipk commented 4 days ago

@Gprakhar141 , assign this issue!!! Start working on this

Gprakhar141 commented 4 days ago

@Codipk On it.

Gprakhar141 commented 4 days ago

@Codipk Which APIs and features are being used in this project from the Google Cloud Console???

Codipk commented 4 days ago

@Gprakhar141 For mail via OTP while signup

Codipk commented 4 days ago

Did u get the client I'd., secret and all for env

Codipk commented 4 days ago

https://dev.to/chandrapantachhetri/sending-emails-securely-using-node-js-nodemailer-smtp-gmail-and-oauth2-g3a you can refer this

Gprakhar141 commented 4 days ago

Also some fields which are expected as response from nutrition api are only available via premium account.

Gprakhar141 commented 4 days ago

Did u get the client I'd., secret and all for env

No I haven't. Its just asking for the apis and services to enable on the Google cloud console.

Codipk commented 4 days ago

@Gprakhar141 u can use any other third party api I just want to measure how many calorie including fats, carbs,etc a person intake with the given amt

Codipk commented 4 days ago

Did u get the client I'd., secret and all for env

No I haven't. Its just asking for the apis and services to enable on the Google cloud console.

U can refer that doc which I have given you

Gprakhar141 commented 3 days ago

@Codipk I have got the Client_Id and Client_Secret from the google console website but I am not able to get the refresh_token. There is a Token_URI field on the website. Are they both the same???

Codipk commented 3 days ago

No it is different

Codipk commented 3 days ago

U can search on internet how to get these credentials