How kaarlosasiang/bettermaticity works
BetterMati.org is a public civic-information portal for residents: visitors navigate the municipal site to find service guidance, government contacts, public finance and legislation, and city statistics. The React route table selects pages; service-search and category/detail views support service discovery, while separate pages present transparency and civic-information features. The README also describes PWA/offline support, accessibility, multilingual content, analytics, and SEO. The graph maps documented routes and excerpted calls; several capability branches are represented at their page or directory level because their source was not sampled.
Main entry points: routes.tsx Page routes · Services.tsx Services directory · ServicesHealth.tsx Health services · service-details Service detail pages
Components 25
Site experience
- Page routes
web/src/routes.tsx - City homepage
web/src/pages/Home.tsx - City news
web/src/pages/News.tsx
Municipal services
- Services directory
web/src/pages/Services.tsx - Service categories
web/src/pages/categories.tsx - More categories
web/src/pages/categories2.tsx - Health services
web/src/pages/ServicesHealth.tsx - Service guides
web/src/components/ServiceGuide.tsx - Service detail pages
web/src/pages/service-details - Service search
web/src/components/ServiceSearch.tsx - Service catalog data
web/src/lib/services.ts - Online actions
web/src/lib/serviceOnlineActions.ts
Civic information
- Government directory
web/src/pages/Government.tsx - Officials
web/src/pages/GovernmentOfficials.tsx - Budget transparency
web/src/pages/Budget.tsx - Legislation
web/src/pages/Legislative.tsx - City statistics
web/src/pages/Statistics.tsx - Contact and hotlines
web/src/pages/Contact.tsx - Hotline data
web/src/lib/hotlines.ts
Shared capabilities
- Language settings
web/src/i18n.ts - Page layout
web/src/Layout.tsx - Offline and updates
sw.js - Usage analytics
web/src/components/Analytics.tsx
Other components
- Site visitor
- Weather service
Connections 26
- Site visitor → Page routes: opens pages
web/src/routes.tsx - Page routes → City homepage: routes to
web/src/routes.tsx - Page routes → Services directory: routes to
web/src/routes.tsx - Page routes → Health services: routes to
web/src/routes.tsx - Page routes → Service categories: routes to
web/src/routes.tsx - Page routes → More categories: routes to
web/src/routes.tsx - Page routes → Government directory: routes to
web/src/routes.tsx - Page routes → Officials: routes to
web/src/routes.tsx - Page routes → Budget transparency: routes to
web/src/routes.tsx - Page routes → Legislation: routes to
web/src/routes.tsx - Page routes → City statistics: routes to
web/src/routes.tsx - Page routes → City news: routes to
web/src/routes.tsx - Page routes → Contact and hotlines: routes to
web/src/routes.tsx - Page routes → Page layout: wraps pages
web/src/routes.tsx - Services directory → Service search: renders
web/src/pages/Services.tsx - Services directory → Service catalog data: uses catalog
- Services directory → Service categories: links categories
web/src/pages/Services.tsx - Health services → Hotline data: uses hotlines
web/src/pages/ServicesHealth.tsx - Health services → Service detail pages: links details
web/src/pages/ServicesHealth.tsx - Service detail pages → Service guides: renders
web/src/pages/service-details/MunicipalEngineering.tsx - Service guides → Service catalog data: uses catalog
- Service detail pages → Online actions: uses actions
- Site visitor → Language settings: chooses language
- City homepage → Weather service: fetches forecast
web/src/pages/Home.tsx - Site visitor → Offline and updates: uses offline site
- Site visitor → Usage analytics: visits tracked