All Projects

Invetrixa — Inventory Management System

Designed and built a production-grade, multi-tenant SaaS backend for inventory management. The system provides isolated tenant workspaces with modules for product catalog management, stock tracking with movement history, a full point-of-sale system with cart and terminal support, automated invoice generation, and customer/supplier management. Features include session-based authentication with OTP verification, role-based access control with module-level granularity, subscription-based feature gating, and a comprehensive CI/CD pipeline with GitHub Actions.

Invetrixa — Inventory Management System

Key Features

  • Multi-tenant architecture with isolated workspaces, locations, and configurations
  • Point-of-sale system with cart management, sales processing, and terminal support
  • Automated invoice generation with customizable templates
  • Comprehensive stock management with movement tracking and adjustments
  • Role-based access control (RBAC) with module-level granularity and auto-initialized roles
  • Session-based authentication with OTP verification and onboarding flow
  • Subscription packages with feature gating
  • Auto-generated Swagger/OpenAPI documentation
  • CI/CD pipeline — lint, type-check, unit tests, E2E tests, and Docker build in parallel
  • Multi-environment Docker Compose setup (dev, staging, production)

Challenges & Solutions

  • Designed a multi-tenant data isolation strategy using Prisma with 13 domain schemas and tenant-scoped queries
  • Built a modular RBAC system with auto-initialization of default roles and permissions on tenant creation
  • Implemented a layered security middleware chain — Helmet, CSRF, rate limiting, request timeouts, and response sanitization
  • Set up parallel CI/CD pipelines with service containers for PostgreSQL and Redis to run E2E tests in GitHub Actions

My Role

Backend Developer

Tech Stack

NestJS 11TypeScriptPrismaPostgreSQLRedisBullMQDockerPassport.jsSwaggerZodJestGitHub Actions