Logo Lanfrica

macjordan09/nobed-ai

Domaine:

healthcaredigital infrastructure

Type de record:

softwaretools
Créateur:
mac
Hôte:
noBed.ai — real-time hospital bed availability, emergency referral & coordination platform for Ghana. Ending No Bed Syndrome. 🇬🇭 # NoBed.ai **Ghana's real-time emergency hospital capacity intelligence platform.** NoBed.ai tackles Ghana's *No Bed Syndrome* — preventable deaths caused when critically ill patients are driven from hospital to hospital because no one knows where a free bed is. It gives hospitals, ambulance teams, health administrators and the public a live, colour-coded view of bed capacity, referral options and emergency care availability across the country — on the web **and** over SMS for low-connectivity users. This repository is a **runnable MVP demo**. It runs locally with **no paid accounts** (PostgreSQL via Docker, OpenStreetMap tiles, mock auth, SMS simulator) and deploys to Vercel + Neon (see docs/DEPLOYMENT.md). The parts that need real infrastructure in production (live SMS providers, managed auth with MFA, PostGIS, Redis, WebSockets) are documented in `docs/` with a clear migration path. --- ## Quick start ```bash # one-time: local Postgres (Docker) docker run -d --name nobed-pg -p 5433:5432 -e POSTGRES_PASSWORD=nobed \ -e POSTGRES_DB=nobed -v nobed-pg-data:/var/lib/postgresql/data postgres:16-alpine npm install npm run setup # prisma generate + db push + seed (17 GH hospitals, 9 demo users) npm run dev # localhost ``` That's it. Open . (Thereafter: `docker start nobed-pg` before dev.) > Requires Node 18+ and Docker (for Postgres). No API keys needed. ### Useful scripts | Script | What it does | |--------|--------------| | `npm run dev` | Start the dev server | | `npm run build` | Production build | | `npm run setup` | Generate client + create DB + seed (first run) | | `npm run db:reset` | Wipe and re-seed the database | | `npm run db:seed` | Re-seed without wiping schema | --- ## Demo credentials Every role from the spec has a demo account. On the **Sign in** page you can click any role to log in instantly, or use the credentials below. | Role | Email | Password | Lands on | |------|-------|----------|----------| | Public User | …