Core Backend Services & Psychometric Scoring Engine

High-Performance API for Psychometric & MBTI Intelligence

Robust Node.js and Express REST architecture providing cognitive dimension scoring, multi-tenant candidate assessment links, automated report generation, and SSLCommerz payment gateways.

Gateway Status
Port 5000
REST Express Server
MongoDB State
Connected
Database: mbti_babylon
Server Uptime
00:00:00
Real-time counter
Registered Endpoints
26+
Across 8 Modular Controllers
LIVE DIAGNOSTICS & TELEMETRY — GET /api/health
Latency: -- ms
// Fetching live diagnostics from /api/health...

API Routing Matrix & Specifications

Complete index of backend controllers, route paths, HTTP methods, and authorization requirements.

🩺 System & Diagnostic Endpoints 2
GET /api/health
Live server telemetry, DB state & memory stats Public Open ↗
GET /api/packages
Retrieve all active subscription pricing packages Public Open ↗
🔐 Authentication & Account Management 6
POST /api/auth/signup
Register new organization/admin account Public
POST /api/auth/login
Authenticate admin & issue JSON Web Token Public
POST /api/auth/forgot-password
Dispatch password recovery token via SMTP Public
POST /api/auth/reset-password
Verify token and set new account password Public
GET /api/subscribers/me
Get current user profile, package & test quotas JWT Admin
PUT /api/profile
Update organization details, name & preferences JWT Admin
🧠 Psychometrics & Assessment Engine 6
GET /api/questions?version=short|long
Retrieve question bank by evaluation version Public/Link
POST /api/participant/register
Enroll candidate record before test initiation Candidate
POST /api/assessments/calculate
Process answers & calculate 4-letter MBTI archetype Candidate
GET /api/assessments
List all candidate evaluation reports for admin JWT Admin
GET /api/assessments/:id
Fetch granular dimension breakdown & personality chart JWT Admin
🔗 Assessment Links & Candidate Invitations 4
POST /api/exam-links
Create shareable candidate link with test quota limit JWT Admin
GET /api/exam-links
Fetch active exam links and remaining quota counts JWT Admin
GET /api/exam-links/verify/:token
Verify candidate invitation validity before launch Public
DEL /api/exam-links/:id
Revoke / deactivate an existing exam invitation link JWT Admin
💳 SSLCommerz Gateway & Payments 4
POST /api/payment/initiate
Initialize SSLCommerz session for plan upgrade JWT Admin
POST /api/payment/success
Gateway callback for successful billing transactions SSL Callback
POST /api/payment/fail
Gateway failure redirect & audit trail logger SSL Callback
GET /api/payment/history
Fetch user billing history and SSLCommerz invoices JWT Admin
⚡ Superadmin Platform Controls & CMS 4
GET /api/superadmin/dashboard
Global tenant metrics, revenue stats & platform activity Superadmin
GET /api/superadmin/users
List all registered subscribers and manage tenant access Superadmin
GET /api/pages/:slug
Fetch dynamic CMS page markdown/HTML by slug Public
POST /api/superadmin/packages
Create or update platform pricing tiers & test limits Superadmin

Developer Quick-Start Examples

Sample snippets for authenticating and consuming the KnowYou API in your preferred stack.


      

Core Engine Capabilities

Engineered for accuracy, scale, psychometric validity, and security.

16-Archetype MBTI Vector Scoring

Algorithmic scoring across Extraversion-Introversion, Sensing-Intuition, Thinking-Feeling, and Judging-Perceiving cognitive axes with multi-dimension weightings.

Tenant Quota & Invitation Links

Generate secure single-use or quota-bounded candidate test tokens with customizable expiration windows and real-time completion tracking.

SSLCommerz Automated Gateways

Integrated merchant billing tunnel supporting credit cards, mobile banking (bKash/Nagad), and IPN webhooks for instant quota replenishment.

Copied to clipboard!