How ghovil-04/2108-samizo.j-hakot works
Hakot is a waste-collection management project, with an Android app, a small Kotlin domain model, and a Supabase account-application function. The evident domain workflow models a collecting truck with a route and dumpsite, then records its online driver and location; schedules associate a truck, route, dumpsite, and ETA. The Android tree also includes map, home, scheduling, and admin screens, but their runtime wiring is not shown. The backend excerpt demonstrates account-application handling and email delivery; relationships are limited to those visible in excerpts or the source index.
Main entry points: index.ts Account applications · Schedules.kt Schedules · Dumptrack.kt Truck tracking · screens App screens
Components 13
Android app
- App screens
Hakot Android Studio/app/src/main/java/com/example/hakot/ui/screens - Map components
Hakot Android Studio/app/src/main/java/com/example/hakot/ui/components - Main activity
Hakot Android Studio/app/src/main/java/com/example/hakot/MainActivity.kt
Collection domain
- Truck tracking
Hakot IntelliJ/src/Dumptrack.kt - Collection route
Hakot IntelliJ/src/Route.kt - Dumpsite
Hakot IntelliJ/src/Dumpsite.kt - Schedules
Hakot IntelliJ/src/Schedules.kt
Account backend
- Account applications
Hakot Android Studio/supabase/functions/manage-account-applications/index.ts
Other components
- App user
- Supabase
- Resend email
- Account applicant
- System owner
Connections 12
- App user → App screens: uses
- App screens → Map components: shows maps
- Main activity → App screens: hosts
- Truck tracking → Collection route: creates
Hakot IntelliJ/src/Dumptrack.kt - Truck tracking → Dumpsite: tracks destination
Hakot IntelliJ/src/Dumptrack.kt - Schedules → Truck tracking: references
Hakot IntelliJ/src/Schedules.kt - Schedules → Collection route: references
Hakot IntelliJ/src/Schedules.kt - Schedules → Dumpsite: references
Hakot IntelliJ/src/Schedules.kt - Account applicant → Account applications: submits
- System owner → Account applications: administers
- Account applications → Supabase: queries
Hakot Android Studio/supabase/functions/manage-account-applications/index.ts - Account applications → Resend email: sends email
Hakot Android Studio/supabase/functions/manage-account-applications/index.ts