KHINVENT PHARMA SOLUTIONS
Requested by CEO: Mr. Mandella Chrispus
khi-pharma/
├── frontend/
│ ├── index.html ← Complete website (all pages)
│ ├── styles.css ← All styling
│ └── app.js ← Navigation & form logic
│
└── backend/
├── server.js ← Node.js/Express REST API
├── package.json ← Dependencies
└── API_DOCS.md ← Full API documentation
- Home — Hero, features, category explainer, CTA
- About — Mission, problem, solution, stakeholders
- How It Works — 6-step process + algorithm formulas
- Pricing — Free trial + 3 plans × 2 tiers
- Contact — Contact details + message form
- Login / Sign Up — Full authentication forms
POST /api/auth/register— Create account + start 7-day trialPOST /api/auth/login— Sign inGET /api/auth/me— Get current userPOST /api/analysis/calculate— Run KHI-PHARMA algorithmPOST /api/analysis/predictive— Predictive analytics (Premier)GET /api/reports— List reportsGET /api/reports/:reportNo— Get specific reportGET /api/plans— List plansPOST /api/plans/upgrade— Upgrade plan
cd backend
npm install
npm start # production
npm run dev # development (nodemon)API runs on http://localhost:3001
Open frontend/index.html in a browser — no build step required.
For production, serve with any static file server:
npx serve frontend/- Replace in-memory
users[]andreports[]arrays with a database (PostgreSQL or MongoDB) - Set
JWT_SECRETas a secure environment variable - Integrate a payment gateway (Stripe/PayPal) for subscription billing
- Add email service (SendGrid) for report sharing and password reset
- Deploy frontend to Netlify/Vercel, backend to Railway/Render/AWS
KHINVENT PHARMA SOLUTIONS — Bwebajja, Entebbe, Uganda
khinventpharma@gmail.com | +256 705 183722