AXOMEDAXOMED
● LIVE SYSTEM STATUS

AXOMED — System Architecture & Live Status

Investor view: exactly where every layer of the product runs, and whether it is connected right now. Every status below is tested live from this page.

FRONTENDwebpages/axomed_v5
→
BACKEND APIExpress · port 3000
→
DATABASEpersistent store
→
AUTOMATIONassessment → CRM
→
CRM PIPELINENew → Assigned

🌐 Frontend Checking…

Landing page—
Login—
Assessment quiz—
All 4 portals—
pinging frontend…

🔌 Backend API Checking…

Base URL—
GET /api/health—
POST /api/auth/login—
POST /api/assessment/submit—
GET /api/crm/leads—
pinging backend…

🗄️ Database Checking…

Users—
CRM leads—
Orders—
Inventory items—
PersistenceJSON file · survives restarts
reading database…

⚙️ Automation Checking…

Assessment → CRM leadAuto
Notify adminAuto
Notify doctorAuto
Notify pharmacy (GLP-1)Auto
Automation log events—
checking automation…

📇 CRM Pipeline Checking…

Status flowNew → Contacted → Qualified → Assigned
Doctor assignmentPer lead
Admin viewadmin-portal.html → CRM & Leads
Auto-refresh15s
checking CRM…

💬 WhatsApp Cloud API Sandbox

IntegrationMeta Cloud API
OTP delivery—
Lead alerts—
Webhook/api/webhooks/whatsapp
Live tokenNot configured (sandbox)
Config UIAdmin → System Health
checking WhatsApp…

💳 Payments Checking…

GatewaysJazzCash · Easypaisa
POST /api/payments/create—
POST /api/payments/verify—
Checkout onweight-loss.html → Buy now
ModeSandbox (merchant pending)
checking payments…

🔑 Demo credentials (for the investor walkthrough)

Admin portaladmin@axomed.com.pk / Axomed@2026
Doctor dashboard03011111111 / Doctor@2026
Pharmacy portalpharmacy@axomed.com.pk / Pharm@2026
PatientSign up via login → OTP flow (code shown on screen)

Founder questions — answered

What is LIVE vs DEMO in this build?

LIVE: the entire frontend (all pages), the backend API on the public URL below, the database (every signup/assessment/order writes to it and persists), the automation engine (assessment → CRM lead → notifications), the CRM pipeline with doctor assignment, and the WhatsApp webhook endpoint. Not live: actual Meta WhatsApp delivery and payment gateway — those need real credentials (WhatsApp token + phone ID, payment merchant keys) which only you can provide.

Is the automation connected?

Yes. Submit an assessment → a CRM lead is created instantly, admin/doctor/pharmacy are notified, a patient draft record is created, and the event is logged with a timestamp. You can watch it happen in the Admin portal → CRM & Leads → Automation Events.

Is the CRM connected?

Yes. The Admin portal loads leads from the live backend, lets you move a lead through New → Contacted → Qualified → Assigned, and assign it to a doctor. Every action is saved to the database and appears in the automation log.

Is the database connected? Where does it live?

Yes — a persistent JSON-file store inside the backend process (survives restarts, atomic writes). Tables: users, assessments, leads, orders, inventory, prescriptions, messages, notifications, automation. For production scale it swaps to Supabase/Postgres without changing the API.

Is the hosting connected? Where is the backend?

The backend runs on a public HTTPS URL (below) reachable from anywhere — this is what the frontend talks to. The frontend is served from permanent /sites/ URLs. Both are live right now.

How can I SEE the backend vs the frontend?

Frontend = the pages you click (landing, login, portals) — visual product. Backend = the API answering those pages — you can open its URL in a browser to see JSON responses, and every page on this status panel shows a live ping to a real endpoint. The System Status page itself is the best single view.

What is the MEDVi-style flow?

Questionnaire (assessment quiz) → "You're all set — we're getting your plan ready" screen → care team notified → doctor matched → video consult scheduled → prescription delivered. This mirrors MEDVi's consult funnel and is implemented end-to-end in assessment.html.

Note: backend runs via the sandbox public proxy (daytonaproxy01). When the founder deploys the identical code to Railway with real env vars (WHATSAPP_TOKEN, WHATSAPP_PHONE_ID, ADMIN_WHATSAPP), only the base URL in js/api.js changes — nothing else.

© 2026 AXOMED — System Status · ← Back to home