Skip to content
View Niraj12chaudhary's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report Niraj12chaudhary

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Niraj12chaudhary/readme.md

Typing SVG

Typing SVG


Profile Views



LinkedIn Email Resume GitHub



About

I design and build backend systems that are resilient under load, safe with data, and predictable in failure.

My work spans multi-tenant SaaS platforms, asynchronous distributed architectures, real-time event systems, and cloud infrastructure on AWS and GCP. I care deeply about correctness, data integrity, and observability not just shipping features.

I think in transactions, queues, and service boundaries. Every system I build is designed to fail safely, scale predictably, emit useful signals when something goes wrong, and be maintainable six months from now by someone who isn't me.


πŸ”­ Engineering Focus

Domain Focus Areas
Backend Services NestJS 10 Β· Fastify Β· Django
SaaS Architecture Multi-tenant isolation Β· RBAC Β· Row-level tenancy
Async Processing Redis Β· BullMQ Β· Pub/Sub event pipelines
Data Layer PostgreSQL schema design Β· Transaction safety Β· ACID guarantees
Real-Time Systems WebSocket streaming Β· Event-driven communication
Cloud Infrastructure AWS Β· GCP Β· Containerized production deployments
Observability Grafana dashboards Β· Metrics Β· Structured logging Β· Alerting

πŸ›  Tech Stack

Languages

Skills

TypeScript Node.js Python


Backend Frameworks

Skills

NestJS Fastify Django REST JWT


Databases & ORM

Skills

PostgreSQL Redis Prisma TypeORM


Async & Event Systems

BullMQ Redis PubSub WebSocket Event Driven


Cloud & Infrastructure

Skills

AWS EC2 S3 RDS GCP Cloud Run Docker Docker Compose


Observability & Monitoring

Skills

Grafana Prometheus Structured Logging Alerting


Tooling & Workflow

Skills

Turborepo pnpm Zod Monorepo


πŸš€ Flagship Projects

πŸ’Š MedShop

Multi-Tenant Medical Shop SaaS

A production-grade B2B SaaS platform built for small medical shops across India. Designed with correctness and data integrity as first-class concerns β€” not bolted on after the fact.

Architecture Highlights

  • Row-level multi-tenancy via shop_id across all guards, services, and queries
  • RBAC with OWNER / MANAGER / STAFF role hierarchy
  • Atomic stock deduction via PostgreSQL transactions
  • FEFO batch rotation β€” First Expiry, First Out
  • Integer-based monetary storage in paise β€” eliminates float precision errors entirely
  • JWT auth with rotating refresh tokens
  • Redis-backed async background processing
  • Grafana dashboards for queue depth, job failure rates, and API latency
  • Fully containerized for local dev and production deployment

NestJS PostgreSQL Redis BullMQ Grafana Next.js TypeScript Docker

⚑ Order Execution Engine

Async Distributed Processing System

A high-performance order execution backend built with Fastify and a Redis-based worker architecture. Designed for throughput, responsiveness, and full real-time observability.

Architecture Highlights

  • Producer–consumer model with BullMQ β€” orders queued instantly, processed independently
  • API layer stays responsive under queue saturation
  • Redis Pub/Sub bridges background workers and WebSocket server
  • Real-time order status streaming to connected clients
  • Strategy pattern for smart DEX routing decisions
  • Concurrent price discovery via Promise.all
  • ACID-compliant order state transitions in PostgreSQL
  • Prometheus metrics exposed per worker; visualized in Grafana
  • Deployed and managed on AWS infrastructure

Fastify PostgreSQL Prisma Redis BullMQ Prometheus Grafana AWS TypeScript


πŸ“ Engineering Principles

Design for scale before optimizing prematurely.
Transactions are the first line of defense for business logic.
Validation belongs at system boundaries β€” not scattered throughout.
Data models determine long-term system quality.
Services must fail safely, loudly, and observably.
Async processing reduces coupling and improves resilience.
You can't fix what you can't measure β€” instrument everything.

πŸ“š Currently Learning

Typing SVG


πŸ“Š GitHub Stats


πŸ“¬ Contact

LinkedIn Email Resume


Building backend systems that survive real-world usage.

Popular repositories Loading

  1. e-dashboard e-dashboard Public

    JavaScript 1

  2. MedShop MedShop Public

    TypeScript 1

  3. opencode opencode Public

    Forked from anomalyco/opencode

    The open source coding agent.

    TypeScript 1

  4. suna suna Public

    Forked from kortix-ai/suna

    Kortix – build, manage and train AI Agents.

    TypeScript 1

  5. Niraj12chaudhary Niraj12chaudhary Public

    Config files for my GitHub profile.

  6. sparks sparks Public

    HTML