GREENYTALE Dive into the web application - https://greenitale.herokuapp.com/
GreenyTale is an e-commerce web platform which addresses the problem of goal number 12 of UN and provides solution to sustainable consumption and production patterns in muliple ways. GreenyTale attempts not only to create a circular economy around the world but also make a strong ethical and ecological impression on the users to aim self sustainance.
Goals of our product: A consumer can make a more informed decision on choosing their raw materials/product parts/products based on a score we’ll provide through an algorithm leveraging Watson AI on parameters like recyclability, reusability, cost, manufacturing impact on environment, carbon footprint, end to end lifetime of a product, disposability, etc.
We will provide an interface and channel for our seller who will be selling materials/products based on a number of parameters meeting our environment friendly guidelines of recycling, reusability, minimum carbon footprint, etc. Every seller will host/sell only environment friendly materials/products by sharing information and filling out one-time minimum form pertaining to the production process of the product which will be later approved by our team to be hosted in the platform if it meets all the sustainable consumption and production patterns.
Consumer can compare the information available for a material/product from different sources to make the best possible decision based on price, quality, carbon footprint, etc. Beside comparison, we will also be leveraging Watson AI with other data sources and list out analytical useful data on every product like manufacturing cost, raw materials used, the impact of the product on the environment, how to reduce the impact, alternative solutions, how to reuse, how to connect to other organizations, companies for recycling, product lifecycle, etc
The platform will provide information on best practices of using recyclable materials as raw materials to reduce the carbon footprint of final product and how efficiently a product can be reused.
The APIs are deployed in heroku.
- API: https://greenytale.herokuapp.com/api/users/new-user-doc
- Type: POST
- Auth: Not required
- Request
{
"user_name": "soham.chattopadhyay",
"password": "test123",
"email": "soham.chattopadhyay93@gmail.com",
"full_name": "Soham Chattopadhyay",
"dob": "01/01/1905",
"gender": "M",
"secure_login_recovery": [
{
"security_question_ID": "1",
"secure_answer": "Kolkata"
}
],
"street_address_1": "Selimpur Road, Dhakuria",
"street_address_2": "",
"city": "Kolkata",
"state": "WB",
"zip": "700031",
"country": "India",
"role": [
"Role_Consumer"
],
"sold_product_ID": [],
"isAdmin": true
}
- API: https://greenytale.herokuapp.com/api/users/login
- Type: POST
- Auth: Not required
- Request
{
"userName": "nitish.kumar",
"password": "asd132edfa"
}
- API: https://greenytale.herokuapp.com/api/users/profile
- Type: POST
- Auth: Not required
- Request
{
"user_name": "",
"user_ID": "4c3da380-f114-11eb-83d7-9381734a8ac8"
}
- API: https://greenytale.herokuapp.com/api/users/sign-up
- Type: POST
- Auth: Not required
- Request
{
"user_name": "nitish.kumar",
"password": "asd132edfa",
"email": "nitish.kumar@gmail.com",
"full_name": "Nitish Kumar",
"dob": "01/02/1911",
"gender": "M",
"secure_login_recovery": [
{
"security_question_ID": "1",
"secure_answer": "Patna"
}
],
"street_address_1": "ADAX Street",
"street_address_2": "GSdf",
"city": "Patna",
"state": "BH",
"zip": "144123",
"country": "India",
"sold_product_ID": [],
"isAdmin": false
}
- API: https://greenytale.herokuapp.com/api/users/update-profile
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "7dcd3d40-eea1-11eb-b87c-119e6b87510a",
"RoleID" : 2
}
- API: https://greenytale.herokuapp.com/api/users/delete-account
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "4c3da380-f114-11eb-83d7-9381734a8ac8"
}
- API: https://greenytale.herokuapp.com/api/products/new-products-doc
- Type: POST (Send Form-Data)
- Auth: Not required
- Request
product_name: Clear Glass,
unit_price: 12,
quantity: 200,
product_material: Glass,
recycling_code: #70 GL,
seller_ID: 0bb9b470-eafc-11eb-bffb-adf8fe07f4e0,
seller_name: Swadhin Mukherjee,
product_category: Materials,
product_sub_category: Fragile Materials
file: Upload image file with this property
- API: https://greenytale.herokuapp.com/api/products/new-product
- Type: POST (Send Form-Data)
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
product_name: Clear Glass,
unit_price: 12,
quantity: 200,
product_material: Glass,
recycling_code: #70 GL,
seller_ID: 0bb9b470-eafc-11eb-bffb-adf8fe07f4e0,
seller_name: Swadhin Mukherjee,
product_category: Materials,
product_sub_category: Fragile Materials
file: Upload image file with this property
- API: https://greenytale.herokuapp.com/api/products/update-product
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"product_ID": "15cc8980-eea6-11eb-ab1f-89c796c5f7c3",
"isApproved": true
}
- API: https://greenytale.herokuapp.com/api/products
- Type: GET
- Auth: Not required
- Request
No request requried
- API: https://greenytale.herokuapp.com/api/products/product-info
- Type: POST
- Auth: Not required
- Request
{
"product_ID": "b16e9e40-eba5-11eb-b05c-97cfad7c58a9"
}
- API: https://greenytale.herokuapp.com/api/products/search-product
- Type: POST
- Auth: Not required
- Request
{
"product_name": "",
"product_category": "",
"product_sub_category": "Fragile"
}
- API: https://greenytale.herokuapp.com/api/products/seller-listings
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"seller_ID": "0bb9b470-eafc-11eb-bffb-adf8fe07f4e0"
}
- API: https://greenytale.herokuapp.com/api/cart/new-cart-doc
- Type: POST
- Auth: Not required
- Request
{
"user_ID": "f0e76700-eafb-11eb-bffb-adf8fe07f4e0",
"products": [
{
"product_ID": "b16e9e40-eba5-11eb-b05c-97cfad7c58a9",
"quantity": "2"
},
{
"product_ID": "c6f570b0-ec43-11eb-b6c2-eba4be0f94a7",
"quantity": "4"
}
]
}
- API: https://greenytale.herokuapp.com/api/cart/new-cart
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "fb1106a0-eafb-11eb-bffb-adf8fe07f4e0",
"products": [
{
"product_ID": "b16e9e40-eba5-11eb-b05c-97cfad7c58a9",
"quantity": "1"
},
{
"product_ID": "c6f570b0-ec43-11eb-b6c2-eba4be0f94a7",
"quantity": "3"
}
]
}
- API: https://greenytale.herokuapp.com/api/cart/get-cart
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "f0e76700-eafb-11eb-bffb-adf8fe07f4e0"
}
- API: https://greenytale.herokuapp.com/api/cart/update-cart
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Note: The latest product array with product add/delete/update to be done in Client and latest array sent in request
- Request
{
"user_ID": "f0e76700-eafb-11eb-bffb-adf8fe07f4e0",
"products": [
{
"product_ID": "c6f570b0-ec43-11eb-b6c2-eba4be0f94a7",
"quantity": "3"
}
]
}
- API: https://greenytale.herokuapp.com/api/cart/delete-cart
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "fb1106a0-eafb-11eb-bffb-adf8fe07f4e0"
}
- API: https://greenytale.herokuapp.com/api/orders/new-orders-doc
- Type: POST
- Auth: Not Required
- Request
{
"user_ID": "f0e76700-eafb-11eb-bffb-adf8fe07f4e0",
"products": [
{
"product_ID": "b16e9e40-eba5-11eb-b05c-97cfad7c58a9",
"quantity": "2"
},
{
"product_ID": "c6f570b0-ec43-11eb-b6c2-eba4be0f94a7",
"quantity": "4"
}
]
}
- API: https://greenytale.herokuapp.com/api/orders/new-order
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "d590ce60-eafb-11eb-9b89-0f5ac3556630",
"products": [
{
"product_ID": "b16e9e40-eba5-11eb-b05c-97cfad7c58a9",
"quantity": "2"
},
{
"product_ID": "c6f570b0-ec43-11eb-b6c2-eba4be0f94a7",
"quantity": "4"
}
]
}
- API: https://greenytale.herokuapp.com/api/orders/get-orders
- Type: POST
- Auth: Required
- Formant: Authorization : Bearer <>
- Request
{
"user_ID": "d590ce60-eafb-11eb-9b89-0f5ac3556630"
}