Adapto is a web-based application built using modern frontend technologies, cloud-based backend services, open maps, and AI models.
The system follows a client–cloud architecture.
User Browser
↓
Frontend (HTML, CSS, JavaScript)
↓
Firebase Services
↓
External APIs (Maps, AI)
- HTML5
- CSS3
- JavaScript (ES6 Modules)
- Firebase Authentication
- Firebase Firestore
- Firebase Storage
- Leaflet.js
- OpenStreetMap
- Overpass API
- OpenRouteService
- Google Generative AI
- Google Translation tools (if enabled)
- Firebase Auth handles user sessions
- Auth state listener controls access
- SOS button triggers alert workflow
- Emergency contacts stored per user
- Map shows nearby emergency-related locations
- User location captured via browser API
- Overpass API fetches healthcare facilities
- Leaflet map renders markers
- Route drawn using OpenRouteService
- Users post housing details
- Location stored as Firestore GeoPoint
- Map shows housing pins
- Distance calculated from user location
- Ownership-based delete access
- Firestore collection stores community posts
- Real-time fetching of posts
- Simple posting and viewing interface
- PDF uploaded via browser
- Text extracted on client-side
- Google Generative AI summarizes content
- Output simplified for easy understanding
- userId (string)
- name (string)
- email (string)
- createdAt (timestamp)
- ownerId (string)
- title (string)
- description (string)
- capacity (number)
- location (GeoPoint)
- createdAt (timestamp)
- userId (string)
- content (string)
- createdAt (timestamp)
- userId (string)
- contacts (array of objects)
- Firestore rules restrict write/delete to owner
- Authentication required for sensitive actions
- No public modification of private data
- Minimal and calm UI
- Icon-based navigation
- Map-first interaction
- Mobile and desktop friendly
- Accessibility-focused design
- Push notifications for SOS
- Offline mode for emergencies
- AI voice assistant
- Admin moderation panel
- Progressive Web App (PWA) support
Adapto is designed to be a scalable, secure, and inclusive platform that prioritizes human safety, accessibility, and adaptability in critical moments.