This is our project for Google Solution Challenge 2023.
from National Yang Ming Chiao Tung university and National Tsing Hua University
- Goal 11: Sustainable Cities
- Goal 12: Responsible Consumption & Production
- Goal 14: Life Below Water
- Goal 15: Life on Land
It is estimated that this project can reduce approximately 5 million disposable cups a year in Taiwan once implemented.
We use the blockchain to record beverage shops that offer discounts for customers bringing their own cups.
We reward those shops with CUP-tokens every time customers buy drinks using their own cups. CUP-tokens can be used for other purposes.
Also, Consumers can record their purchases on the chain and accumulate points, which can be exchanged for drinks, etc.
Please follow the link to see more information of our project.
We use:
- Angular to develop our website
- Node js to develop our back-end
- Solidity to develop our smart contract
Note that back-end code is in the back-end
folder, smart contract is in the smart-contract
folder. And the rest is front-end code.
- (READMEs for other two please go to the corresponding folders)
- open the front-end files in your preferred IDE
- run
npm install
in your terminal - run
ng serve --open
in the terminal to open the website- Note that the default port would be localhost:4200
For more details on how to use the website, please follow this link. Hope you enjoy the journey!