Enables SMS alert functionality for flood prediction notifications, with support for both production and mock modes for testing community alert systems.
AegisFlood (MVP)
AI-powered flood prediction and community alert system.
This repository contains a TypeScript React frontend and a FastAPI backend per the MVP scope:
Citizen registration and dashboard (risk view)
Authority dashboard (basic)
Simple prediction logic
SMS alerts via Twilio (mockable)
JWT auth with roles (citizen, authority)
Project Structure
Quick Start (Local)
Backend
Copy env
Start Postgres + API
API: http://localhost:8000, Docs: http://localhost:8000/docs
Frontend
Security (MVP)
JWT with 24h expiry, role-based access control
Input validation via Pydantic schemas
CORS restricted via FRONTEND_ORIGIN
Env-based secrets, no secrets in code
Twilio credentials via env, optional mock mode
Notes
This is MVP scope only. Extended features are out-of-scope until requested.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
sapne dekha ache baat hai sapna ke so jaana wo sahi nahi hai
Related MCP Servers
- MIT License
- Apache 2.0