Skip to content
View aadityaraj25's full-sized avatar
💭
Open to Collaborate
💭
Open to Collaborate

Block or report aadityaraj25

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.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

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

Report abuse
aadityaraj25/README.md

About Me

I'm a B.Tech Computer Science student (2023–2027) at ABES Engineering College, Ghaziabad, focused on building backend systems that are secure, predictable and easy to reason about. My work centres on Node.js, Express, PostgreSQL and MongoDB: auth flows, transactional money movement, event-driven services, file uploads and real-time WebSocket apps. I also build the React frontends that sit on top of them.

What I care about most when writing an API:

  • Security by default: hashed passwords, short-lived access tokens, single-use refresh-token rotation, HTTP-only cookies and token blacklisting.
  • Correctness: idempotent writes, serializable transactions and append-only ledger records instead of mutable state.
  • Clean structure: routes → controllers → models/services, with middleware for auth, validation, uploads and error handling.
  • Production habits: rate limiting, health checks, structured logging, load testing and CI.
  • Shipping: most projects below are deployed, so you can try them yourself.

I'm open to collaborating on backend and full-stack projects.


Tech Stack

Languages
Frameworks
Databases and infrastructure
Tools

Socket.io JWT Cloudinary Swagger k6 Render

Category Technologies
Languages C/C++, JavaScript (ES6+), Python, Java, HTML5, CSS3
Backend & APIs Node.js, Express.js, REST API design, Socket.io, RabbitMQ, Prisma ORM, Zod
Auth & Security JWT (access + refresh rotation), bcrypt, HTTP-only cookies, token blacklist, Helmet, CORS, rate limiting, Gmail / Nodemailer OAuth2
Databases PostgreSQL, MongoDB (Mongoose), MySQL, Redis
Frontend React, Vite, React Router, Bootstrap, jQuery, EJS, CodeMirror
DevOps & Testing Docker, GitHub Actions, k6, Vitest, Swagger / OpenAPI, Pino, Sentry, Logtail
Deployment Vercel, Render, GitHub Pages
Tools Git, GitHub, Postman, Thunder Client, pgAdmin
Core CS Data Structures & Algorithms, DBMS, Computer Networks, Operating Systems

Projects

Type Project Stack Links
Backend Ledger Vault 2.0: Banking Backend Node.js, Express, PostgreSQL, Prisma, Redis, RabbitMQ, Docker Code
Backend MediaAPI: Media Upload & Auth Service Node.js, Express, MongoDB, JWT, Cloudinary Live · Code
Backend Todo API Node.js, Express, MongoDB Live · Code
Full Stack METoS: Team Formation Platform React, Node.js, Express, MongoDB, Socket.io, Redis Live · Code
Full Stack CodeEditor: Real-Time Collaborative Editor React 19, Vite, Express, Socket.io, CodeMirror Live · Code
Frontend Eco-Search HTML, CSS, JavaScript Live · Code
Frontend Mini-Project React, Vite Code

Backend Projects

Node.js Express.js PostgreSQL Prisma Redis RabbitMQ Docker

A banking-style REST API rearchitected as a modular monolith, where every money movement is recorded in an immutable double-entry ledger. Balances are derived from paired DEBIT/CREDIT entries instead of a mutable field, so the system is transparent and tamper-resistant. (The original MongoDB version is Ledger Vault v1 · live API.)

  • Architecture: 14 REST endpoints across auth, accounts, transactions and ledger modules; migrated from MongoDB to PostgreSQL + Prisma (5 relational models).
  • Atomic transfers: Serializable-isolation Postgres transactions keyed by an Idempotency-Key header, so retries can't create duplicates or double-spends.
  • Auth: JWT access tokens with single-use, DB-backed refresh token rotation.
  • Rate limiting: Redis-backed and fail-open, with automatic in-memory fallback.
  • Event-driven side-effects: financial events published to durable RabbitMQ queues with Dead Letter Exchanges for asynchronous, fault-tolerant audit logging and notifications.
  • Hardening & docs: Helmet, CORS, Zod validation, centralized error handling, Swagger/OpenAPI docs and /health readiness probes.
  • Observability: Pino, Sentry and Logtail.
  • Quality: k6 load test at 150 concurrent VUs with p95 < 200 ms, 0% failures and no deadlocks; Vitest suite and CI via GitHub Actions.
Transfer flow
flowchart TD
    A[POST /api/transactions + Idempotency-Key] --> B{Rate limit and Zod validation pass?}
    B -->|No| X1[429 / 400 error]
    B -->|Yes| C{Idempotency key already used?}
    C -->|Yes| X2[Return original result, no re-processing]
    C -->|No| D[Begin Serializable Postgres transaction]
    D --> E{Accounts active and funds sufficient?}
    E -->|No| X3[Rollback and reject]
    E -->|Yes| F[Write DEBIT LedgerEntry for sender]
    F --> G[Write CREDIT LedgerEntry for receiver]
    G --> H[Commit transaction]
    H --> I[Publish event to RabbitMQ]
    I --> J[Audit log and notification consumers]
    I -.->|failed delivery| K[Dead Letter Exchange]
Loading

Node.js Express.js MongoDB Mongoose JWT Multer Cloudinary bcrypt

A video-platform style backend covering user accounts, token-based auth and image uploads, with 10 REST endpoints.

  • Access + refresh token flow: short-lived access tokens, long-lived refresh tokens and a dedicated refresh endpoint, delivered as HTTP-only cookies with role-based route protection.
  • Avatar and cover image uploads: Multer stores files temporarily, then uploads to Cloudinary and cleans up local files if the upload fails.
  • Profile management: protected routes to update account details, avatar and cover image.
  • Channel profile and watch history endpoints with subscription counts.
  • Clean error handling: global error handler, custom ApiError class and a standardized ApiResponse wrapper.

Node.js Express.js MongoDB Mongoose

A minimal RESTful CRUD API with the things a real list endpoint needs.

  • Search (case-insensitive title match), sort by creation date and pagination via page and limit.
  • A dedicated PATCH /:id/toggle endpoint for completion state.
  • Input validation, an async handler wrapper and centralized error middleware.

Full Stack Projects

React Node.js Express.js MongoDB Socket.io Redis JWT Nodemailer

A platform where developers find teammates, form groups and collaborate in one workspace. Backed by 50+ REST endpoints across 8 modules (auth, groups, invites, connections, join-requests, projects, workspace, users) and 8 Mongoose models.

  • Secure invite system: single-use JWTs signed against the user's current password hash, so reset and invite links self-invalidate after one use; emails sent via Nodemailer with OAuth2.
  • Connection graph: bidirectional connections with pending, accept, reject and cancel flows.
  • Redis cache for instant username-availability checks on every keystroke.
  • Real-time with Socket.io: live presence, a Kanban task board and persistent group messaging.
  • Leader-approved join requests for group membership.

React 19 Vite Express.js Socket.io CodeMirror

A full-stack editor where multiple people join a room and edit code together with live sync.

  • Room-based sessions: create a room or join with a room ID, and each client gets a unique UUID.
  • Live synchronization of code changes across all connected clients over WebSockets.
  • CodeMirror syntax highlighting, user avatars for everyone in the room and toast notifications for join/leave events.

Frontend Projects

HTML CSS JavaScript

A search-focused frontend for eco-friendly products, deployed on GitHub Pages, with landing, login, signup and password-reset pages.


React Vite

A React + Vite project scaffold, used as a base for frontend experiments.


Engineering Patterns I Use

Area What I do
Structure Separate routes, controllers, models, middleware, config and utils so each file has one job
Authentication bcrypt hashing, JWT access and refresh tokens (single-use rotation), HTTP-only cookies, token blacklist on logout
Data integrity Immutable ledger entries, Serializable Postgres transactions and MongoDB sessions for multi-write operations, idempotency keys for safe retries
Async & messaging RabbitMQ durable queues with Dead Letter Exchanges to decouple side-effects from the request path
Resilience Redis-backed rate limiting that fails open, with in-memory fallback; /health readiness probes
API design Versioned routes (/api/v1), pagination, search and sorting, Zod validation, meaningful HTTP status codes, Swagger/OpenAPI docs
Error handling Async wrapper, global error middleware, consistent JSON error and response shapes
Testing & observability k6 load tests, Vitest, GitHub Actions CI, Pino / Sentry / Logtail
Uploads Multer to Cloudinary pipeline with temp-file cleanup
Real-time Socket.io rooms, presence and event-based broadcast
Config Secrets and connection strings in .env, documented in each project's README

Achievements & Coding Profiles

  • Solved 294+ problems on CodeChef and 280+ on LeetCode
  • Peak contest ratings: 1410 on CodeChef and 1390 on LeetCode
  • GitHub Pull Shark ×2  ·  YOLO

GitHub Stats

Profile Details


GitHub Stats Top Languages


GitHub Streak


Let's Connect

I'm open to collaborating on backend and full-stack projects. If you're building something that needs solid APIs, secure auth, event-driven services or real-time features, or you just want to talk Node.js, feel free to reach out.

footer

Pinned Loading

  1. codeEditor codeEditor Public

    codeEditor

    JavaScript

  2. Mini-Project Mini-Project Public

    JavaScript

  3. Eco-Search Eco-Search Public

    Ec-Search

    CSS

  4. MediaAPI MediaAPI Public

    JavaScript

  5. Todo-Api Todo-Api Public

    JavaScript

  6. Ledger-Vault Ledger-Vault Public

    JavaScript