Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1]: Water footprint calculator #3

Merged
merged 13 commits into from
Aug 6, 2024

Conversation

kevalkanp1011
Copy link
Contributor

#1

Apis for Water Footprint Calculator Added

1. Add Ingredient Row
route: "/add-ingredient-row"
Request Schema:
rowOrder: number

3. Add Ingredient Row Item
route: "/add-ingredient-row-item"
Request Schema:
itemId: number,
rowId: number,
name: string,
amt: number,
unit: string,
waterFootprint: number,
unselectedBgImageUrl: string,
selectedBgImageUrl: string,
sampleImageUrl: string,
sampleImageSize: number,
scaleFactor: number,
iconScalefactor: number,
cornerType: string,
doneXOffSet: number,
doneYOffSet: number,
pluseXOffSet: number,
pluseYOffSet: number,
minusXOffSet: number,
minusYOffSet: number,
xOffset: number,
yOffset: number

4. Fetch Ingredients
route: "/fetch-ingredients"
Request Schema:
none

5. Calculate Water Footprint
route: "/calc-water-footprint"
Request Schema:
user_id: string,
data: {ingredient_id: number, amt: number}

Copy link
Member

@arpankumarde arpankumarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve the conflicts

@kevalkanp1011
Copy link
Contributor Author

Resolve the conflicts

Conflict has been resolved

Copy link
Member

@arpankumarde arpankumarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I'm merging it

@arpankumarde arpankumarde merged commit 2eeb06c into arghyam:main Aug 6, 2024
@simran142002 simran142002 changed the title Water footprint calculator [#1] : Water footprint calculator Aug 9, 2024
@simran142002 simran142002 changed the title [#1] : Water footprint calculator https://github.com/arghyam/ripple-effect/issues/1 : Water footprint calculator Aug 9, 2024
@simran142002 simran142002 changed the title https://github.com/arghyam/ripple-effect/issues/1 : Water footprint calculator [1] : Water footprint calculator Aug 9, 2024
@simran142002 simran142002 changed the title [1] : Water footprint calculator [1]: Water footprint calculator Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants