How itslevanx/hackathon-utp-el-comercio works
Conecta2 is a Flutter neighborhood-community app. Residents browse nearby services and posts, request or offer help, and coordinate in private chats or district emergency groups; the app also supports offline drafts and simulated emergencies. The README documents maps, accessibility, and push notifications. Most Dart application sources are absent from the supplied tree, so those feature nodes have no supported source path; documented relationships are cited to the README. The private-message push function is present in the tree, but its implementation details are not expanded here.
Main entry points: index.ts Push worker
Components 20
Community features
- Service directory
- Community posts
- Map exploration
- Location search
Chat and emergencies
- Private chats
- Emergency groups
- Emergency drills
- Push notifications
App and offline support
- Conecta2 app
- Account access
- Offline drafts
- Local SQLite
- Accessible controls
Remote services
- Push worker
supabase/functions/private-message-push/index.ts - Supabase services
- Supabase Realtime
- CARTO maps
- OpenStreetMap
- Firebase messaging
Other components
- Resident
Connections 20
- Resident → Conecta2 app: uses
- Conecta2 app → Account access: provides access
- Conecta2 app → Service directory: offers browsing
- Conecta2 app → Community posts: offers posting
- Conecta2 app → Map exploration: offers exploration
- Map exploration → Location search: searches nearby
- Map exploration → CARTO maps: requests basemap
- Map exploration → OpenStreetMap: uses map data
- Conecta2 app → Private chats: offers chats
- Conecta2 app → Emergency groups: opens groups
- Conecta2 app → Emergency drills: offers simulations
- Conecta2 app → Offline drafts: queues offline work
- Offline drafts → Local SQLite: stores drafts
- Conecta2 app → Accessible controls: provides controls
- Service directory → Supabase services: queries services
- Community posts → Supabase services: stores posts
- Private chats → Supabase Realtime: receives updates
- Push notifications → Firebase messaging: registers devices
- Supabase services → Push worker: dispatches queued work
- Push worker → Firebase messaging: sends notifications