# Afiyati — عافيتي - Home Healthcare Platform for Libya
## Stack
- Backend: NestJS v10 + TypeORM + PostgreSQL
- Mobile: Flutter 3.x
- Admin: React 18 + Vite + Tailwind
- Cache: Redis (Upstash)
- WebSocket: Socket.io
- Storage: Supabase Storage (S3-compatible)
## v6.1 Features
- Medical specialties system
- Multi-service booking (cart)
- Provider busy status
- Consultations (immediate/scheduled)
- Emergency routing to official services
- Financial settlements
- Multi-sort provider search
- Location privacy (approximate distance only)
- Saved addresses (multiple per patient)
## Quick Start
```bash
# Backend
cd backend && npm install && cp .env.example .env
npm run migration:run && npm run seed && npm run start:dev
# Admin
cd admin-dashboard && npm install && npm run dev
# Mobile
cd mobile && flutter pub get && flutter run
```
## Deploy (Free Tier)
See `docs/DEPLOYMENT_FREE_TIER.md` — uses Supabase + Upstash + Render + Cloudflare Pages.
## Repository
github.com