AI-Powered Analysis
Amazon Nova 2 Lite validates images, classifies damage across 9 categories, scores severity, and powers the RuaLafaek AI chat assistant.
Empowering Timor-Leste citizens to report infrastructure issues through Amazon Nova AI analysis and Hedera blockchain-verified transparency.

Public Dashboard: www.lafaekstreet.com
Government Portal: gov.lafaekstreet.com
Backend API: api.lafaekstreet.com
Source Code: github.com/ajitonelsonn/LafaekStreet
Click here to view the full diagram in a new tab.
| App | Description | Tech | Docs |
|---|---|---|---|
| Mobile App | Citizen reporting (offline-first, GPS, camera) | Flutter / Dart | README |
| Backend API | Core API (AI, blockchain, auth) | FastAPI / Python | README |
| Public Dashboard | Open data + RuaLafaek AI chat | Next.js 14 | README |
| Government Portal | Agency report management | Next.js 14 | README |
| Admin Panel | System administration (local only) | Next.js 15 | README |
| Database | Shared PostgreSQL schema | PostgreSQL 15+ | README |
| Document | Description |
|---|---|
| System Diagrams | 17 Mermaid diagrams covering all system flows |
| User Roles & Permissions | Complete access matrix across all applications |
| Backend API | FastAPI architecture, 38 endpoints, integrations |
| AI Chat Implementation | RuaLafaek: LangChain + Nova 2 Lite pipeline |
| KMS Architecture | Signing flow diagrams, security layers |
| Hedera Integration | HCS topics, transaction costs, live verification |
| Deployment Guide | AWS Lightsail setup, Nginx, SSL |
| Report Creation Flow | Online/offline report submission + AI pipeline |
| Logo Description | Cultural symbolism and design rationale |
| Layer | Technology | Purpose |
|---|---|---|
| Mobile | Flutter / Dart + Google Sign-In | Cross-platform app with OAuth |
| Backend | FastAPI (Python) | REST API + Hedera integration |
| Dashboard | Next.js 14 + React + TypeScript | Public dashboard + AI chat |
| Gov Portal | Next.js 14 + Prisma + hCaptcha | Government agency management |
| Admin | Next.js 15 + Prisma | System administration (local) |
| AI Chat | LangChain + Amazon Nova 2 Lite | RuaLafaek conversational AI |
| AI Analysis | Amazon Bedrock Nova 2 Lite | Image validation & damage analysis |
| Embeddings | Amazon Nova 2 Multimodal (1024-dim) | Semantic search & duplicate detection |
| Blockchain | Hedera Network (HCS) | Immutable records |
| Security | AWS KMS (SECP256K1) + hCaptcha | Hardware signing + bot protection |
| Storage | Amazon S3 | Image storage |
| Database | PostgreSQL 15+ + PostGIS + pgvector | Geospatial + AI embeddings |
| Cache | Valkey (Redis-compatible) | Sessions & caching |
| Maps | OpenStreetMap | Free mapping (mobile + dashboard) |
| Hosting | AWS Lightsail + Vercel + Aiven | Cloud infrastructure |