“A shilling is the measure of less pleasure, or satisfaction of any kind, to a rich man than to a poor one. The happiness which an additional shilling brings to a poor man is much greater than that which it brings to a rich one.”
- Principles of Economics (8th ed.) PLL v6.0 (generated September, 2011) 16 -
DONUT
is a sustainable donation platform tailored to the developmental characteristics of adolescents, providing a stigma-free process for beneficiaries.
By utilizing unused resources such as gift vouchers, amounting to 9 billion KRW annually in South Korea, it facilitates low-income youth to purchase groceries and essential items.
- Sustainable Development Goals (SDGs)
- Architecture
- Tech Stacks
- How to Run
- How to Use DONUT
- TEAM ZPE (0.8)
[1] No Poverty | [12] Responsible Consumption and Production |
---|---|
End poverty in all its forms, everywhere. | Ensure sustainable consumption and production patterns. |
The Client Application is implemented on Android
using Kotlin
, with the MVVM architecture to separate UI logic from business logic and increase code reusability and scalability. Through various interactions with users, the Client Application forwards requests to the Web Server.
The Web Server processes client requests and can communicate with the AI Server in need. It is implemented based on Spring Boot
and utilizes Redis
for JWT processing. Both Spring Boot and Redis are deployed in Docker
containers via GCP
Compute Engine. CI/CD is established using GCP Code Build and Artifact Registry for agile development.
A MySQL
8.0-based GCP Cloud SQL instance serves as the main Database. GCP Cloud Storage is used for the Image bucket, where URLs of inserted objects are stored in the Database.
The AI Model, served by FastAPI
, is hosted on a separate VM from the Web Server. It is also deployed using Docker in preparation for utilizing Kubernetes
for resource management caused by an increase in the number of users. Low-resolution gift card images forwarded from the Web Server to the AI Server are enhanced to high resolution using TensorFlow
’s ESRGAN model and then stored in the GCP Storage bucket. The URLs of the stored objects are also updated in the Database.
- Android studio Flamingo 2022.2.1
- compileSdk 34 or higher
- minSdk 33 or higher
- CameraX supported Android Device within this link (CameraX is supported on most Android devices running Android 5.0 (API level 21) and higher.)
- Check the requirement above.
- Download the APK file on your Android device.
- Run the apllication from APK file
- Account of Docker Hub
- gradle build
- docker build -t
yourAccount
/yourRepository
./ - docker push
yourAccount
/yourRepository
- create docker-compose.yml
- sudo docker pull
yourAccount
/yourRepository
- sudo docker tag
yourAccount
/yourRepository
dockerImageName
- sudo docker-compose up
( docker-compose.yml that we created is on Server repository)
Client | Server | Server & AI | UX & UI Design |
Hyuna Kim | Ganghee Lee | Yensoo Kang | Sohyun Kim |