Skip to content

LafaekStreetAI-Powered Civic Engagement

Empowering Timor-Leste citizens to report infrastructure issues through Amazon Nova AI analysis and Hedera blockchain-verified transparency.

LafaekStreet AI Mascot

Live URLs

Public Dashboard: www.lafaekstreet.com

Government Portal: gov.lafaekstreet.com

Backend API: api.lafaekstreet.com


Source Code: github.com/ajitonelsonn/LafaekStreet


System Architecture

Click here to view the full diagram in a new tab.

LafaekStreet - System Architecture


Project Applications

AppDescriptionTechDocs
Mobile AppCitizen reporting (offline-first, GPS, camera)Flutter / DartREADME
Backend APICore API (AI, blockchain, auth)FastAPI / PythonREADME
Public DashboardOpen data + RuaLafaek AI chatNext.js 14README
Government PortalAgency report managementNext.js 14README
Admin PanelSystem administration (local only)Next.js 15README
DatabaseShared PostgreSQL schemaPostgreSQL 15+README

Documentation

DocumentDescription
System Diagrams17 Mermaid diagrams covering all system flows
User Roles & PermissionsComplete access matrix across all applications
Backend APIFastAPI architecture, 38 endpoints, integrations
AI Chat ImplementationRuaLafaek: LangChain + Nova 2 Lite pipeline
KMS ArchitectureSigning flow diagrams, security layers
Hedera IntegrationHCS topics, transaction costs, live verification
Deployment GuideAWS Lightsail setup, Nginx, SSL
Report Creation FlowOnline/offline report submission + AI pipeline
Logo DescriptionCultural symbolism and design rationale

Technology Stack

LayerTechnologyPurpose
MobileFlutter / Dart + Google Sign-InCross-platform app with OAuth
BackendFastAPI (Python)REST API + Hedera integration
DashboardNext.js 14 + React + TypeScriptPublic dashboard + AI chat
Gov PortalNext.js 14 + Prisma + hCaptchaGovernment agency management
AdminNext.js 15 + PrismaSystem administration (local)
AI ChatLangChain + Amazon Nova 2 LiteRuaLafaek conversational AI
AI AnalysisAmazon Bedrock Nova 2 LiteImage validation & damage analysis
EmbeddingsAmazon Nova 2 Multimodal (1024-dim)Semantic search & duplicate detection
BlockchainHedera Network (HCS)Immutable records
SecurityAWS KMS (SECP256K1) + hCaptchaHardware signing + bot protection
StorageAmazon S3Image storage
DatabasePostgreSQL 15+ + PostGIS + pgvectorGeospatial + AI embeddings
CacheValkey (Redis-compatible)Sessions & caching
MapsOpenStreetMapFree mapping (mobile + dashboard)
HostingAWS Lightsail + Vercel + AivenCloud infrastructure

Built for Timor-Leste