karthik.dev
Back to projects
AI

NEXORA

AI-powered multi-role SaaS platform with OpenAI content generation

React.jsNode.jsMongoDBTypeScriptOpenAI APIGitHub ActionsJestDocker

Overview

A scalable multi-role SaaS platform combining JWT-based authentication, RBAC, OpenAI-powered content generation, and real-time analytics dashboards for administrators.

Problem

Teams need AI content generation embedded directly into their existing workflows and dashboards rather than as a disconnected external tool, with usage visibility for admins.

Solution

A SaaS shell with authenticated multi-role sessions, an AI prompt orchestration layer wrapping the OpenAI API, and analytics dashboards surfacing usage patterns in real time.

Architecture

  1. 1React frontend with role-based views
  2. 2Node.js backend for user lifecycle management and AI prompt orchestration
  3. 3MongoDB for flexible content and usage-event storage
  4. 4GitHub Actions CI/CD pipeline automating linting, testing, Docker builds, and deployment

Technical Challenges

  • Structuring error handling around third-party AI API calls (rate limits, timeouts) without degrading the user experience.
  • Achieving high test coverage for AI-integrated flows by mocking the service layer rather than hitting live APIs in CI.

Results

  • Achieved 80%+ unit test coverage with Jest using mocked service layers.
  • Fully automated CI/CD from lint to Docker build to deployment via GitHub Actions.