Robust, schema-first, and highly scalable Node.js architecture powering the Kraviona platform.
Built on Node.js (v20 LTS) and TypeScript. Uses Fastify / Express for a fast, schema-first API approach with Zod for strict validation.
Hybrid architecture utilizing PostgreSQL (via Prisma ORM) for relational data and MongoDB (via Mongoose) for flexible content modules.
Secured with short-lived JWT Access Tokens (15 mins) and HTTP-Only Refresh Cookies. Features Password + OTP login and strict Role-Based Access Control (RBAC).
Redis handles session management, rate-limiting, and high-speed caching. BullMQ manages heavy background tasks like emails, sitemaps, and image processing.
Socket.IO with Redis adapter streams live push notifications, real-time audit logs, and immediate lead updates directly to the Admin Panel.
Integrates with S3-compatible storage (AWS S3, Cloudflare R2) for media uploads. Monitored via Pino JSON logs and Prometheus metrics.
Access the complete REST API documentation, test public GET routes, and view endpoint contracts.
📖 View Full API Docs Test Public Config API