How monirul1128/tangail-app works
This is a Tangail district information and services portal: residents browse local services, filter directories, open detail pages, and use contact links; administrators maintain the directory. The README documents a Flutter mobile app, but the supplied tree exposes only its Android launch shell, so its internal workflow cannot be mapped. Web page excerpts show client-side filtering and homepage navigation, while most data-fetch and persistence code was not sampled; Firebase relationships are therefore documented rather than traced through callers.
Main entry points: page.tsx Home page · HospitalsClient.tsx Hospital directory · DoctorsClient.tsx Doctor directory · AmbulanceClient.tsx Ambulance directory
Components 14
Resident portal
- Home page
web/src/app/page.tsx
Service directories
- Hospital directory
web/src/app/hospitals/HospitalsClient.tsx - Doctor directory
web/src/app/doctors/DoctorsClient.tsx - Ambulance directory
web/src/app/ambulance/AmbulanceClient.tsx - Blood donors
web/src/app/blood-donor/BloodDonorClient.tsx - Emergency contacts
web/src/app/emergency/page.tsx - Other service pages
web/src/app
District information
- News and notices
web/src/app/news/NewsClient.tsx - Upazila pages
web/src/app/upazila/[id]/page.tsx - District information
web/src/app/about/page.tsx
Administration
- Admin shell
web/src/app/admin/AdminLayoutClient.tsx - Service management
web/src/app/admin
Other components
- Resident
- Firebase services
Connections 16
- Resident → Home page: browses
- Home page → Hospital directory: links to
web/src/app/page.tsx - Home page → Blood donors: links to
web/src/app/page.tsx - Home page → News and notices: previews
web/src/app/page.tsx - Home page → Upazila pages: links to
web/src/app/page.tsx - Resident → Doctor directory: browses
- Resident → Ambulance directory: browses
- Resident → Emergency contacts: browses
- Resident → Other service pages: browses
- Admin shell → Service management: routes to
web/src/app/admin/AdminLayoutClient.tsx - Service management → Firebase services: uses
- Hospital directory → Firebase services: reads data
- Doctor directory → Firebase services: reads data
- Ambulance directory → Firebase services: reads data
- Blood donors → Firebase services: reads data
- News and notices → Firebase services: reads data