Logo Lanfrica

tkwofie67/akomahealth

Domain:

healthcare

Record type:

software
Creator:
tkw
Host:
AI-powered health assistant for Ghana β€” malaria checker, maternal health, ANC passport, CHW tools & Mama Circle community # AkomaHealth πŸ‡¬πŸ‡­ **AI-powered health assistant for Ghana** β€” malaria checker, maternal health triage, digital ANC passport, child growth tracker, CHW visit log, outbreak map, and Mama Circle peer community. --- ## Project Structure ``` akomahealth/ β”œβ”€β”€ index.html ← App shell β€” all HTML screens β”œβ”€β”€ css/ β”‚ └── styles.css ← All styles (single file, ~30KB) β”œβ”€β”€ js/ β”‚ β”œβ”€β”€ i18n.js ← Translations: English, Twi, Hausa + applyLang() β”‚ β”œβ”€β”€ app.js ← Core clinical modules (malaria, ANC, growth, CHW…) β”‚ └── mama-circle.js ← Mama Circle community feature β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ server.js ← Node.js/Express API server (Supabase + Anthropic) β”‚ β”œβ”€β”€ schema.sql ← Supabase database schema (run once in SQL Editor) β”‚ β”œβ”€β”€ api.js ← Frontend API client (connects app to backend) β”‚ β”œβ”€β”€ package.json ← Backend dependencies β”‚ └── .env.example ← Environment variable template β”œβ”€β”€ .gitignore └── README.md ``` --- ## Running the App ### Option A β€” Frontend only (no backend needed for UI review) Just open `index.html` in any browser. All screens, navigation, facility finder, prevention tips, growth calculator, and dosing calculator work without a backend. AI features (malaria checker, maternal triage, health Q&A) need an Anthropic API key β€” see Configuration below. ### Option B β€” With backend (full AI + persistent data) ```bash # 1. Set up Supabase # - Create a project at supabase.com # - Run backend/schema.sql in the Supabase SQL Editor # 2. Configure environment cd backend cp .env.example .env # Edit .env with your keys # 3. Install and run npm install npm start # 4. Open index.html (use Live Server or: npx serve .) ``` --- ## Configuration ### API Key (for standalone AI features) Open `js/app.js` and find: ```js const API_KEY = ''; ``` Paste your Anthropic API key between the quotes. > **Leave empty** when running inside claude.ai β€” authentication is automatic. ### …

Languages