Saruhasan Thavachelvan — Software engineer · Backend & full-stack

Systems with edge. APIs with intent. Shipped with pace.

I build backend systems, APIs and full-stack web & mobile apps — software that's reliable, maintainable and built to scale.

Scroll
TypeScript✺ Python✺ Node.js✺ FastAPI✺ React✺ MongoDB✺ PostgreSQL✺ Docker✺ System Design✺

(02) About

I'm Saruhasan Thavachelvan — a software engineer and undergraduate at Sabaragamuwa University of Sri Lanka. I build backend systems, APIs, and web and mobile apps that are reliable and built to scale — and I'm pushing into distributed systems and cloud infrastructure. I've also started learning AI engineering.

saru — zsh — 80×24

        
  • Based inSri Lanka
  • Studying atSabaragamuwa University
  • FocusBackend · System design · Full-stack
  • CurrentlyLearning AI engineering

(03) Selected work

Things I've built

2025 — 2026 · from github.com/Saru-Work

  1. 01 OpenGate Developer gateway in front of WSO2 API Manager 2026 Developers sign up, browse the APIs published in WSO2 and create their own applications. OpenGate records who owns each app, so every developer sees only theirs. Creating an app is kept consistent across both systems: if saving ownership fails, the app is deleted from WSO2 again so nothing is left orphaned. A Next.js dashboard handles keys, subscriptions and throttling policies without the browser ever seeing a token. The backend uses argon2 password hashing, 15-minute JWTs, rate limiting, request-ID logging, health and readiness checks and an OpenAPI 3.1 spec, and the whole stack runs from one Docker Compose file. TypeScript · Node.js · Next.js · MongoDB · WSO2 API Manager · Docker
  2. 02 Lifelines Blog writing and reading platform 2025 A blogging app where people write stories, publish them to a shared feed, and like and comment on each other's work. Stories are written in a Tiptap rich-text editor, readers can open author pages, and writers can edit their own profiles. Built as a single-page app with React, TypeScript and Redux Toolkit, backed by Firebase and styled with SCSS. React · TypeScript · Redux Toolkit · Firebase · Tiptap · SCSS · Vite
  3. 03 XMusic Music streaming app you can control from ChatGPT 2026 A music streaming web app with one player for songs uploaded by artists and for anything on YouTube. It has a full queue with shuffle, repeat, playback speed and a sleep timer, and the queue survives a page reload. Listeners search XMusic and YouTube together or paste a YouTube link, then build playlists and like songs. Artists can create albums and upload tracks, and album colours are taken from the cover art. An MCP server secured with OAuth 2.1 connects XMusic to ChatGPT, so you can say “play some sad songs” and it searches your library and YouTube, then starts playing in your open tab through Socket.IO. The same channel powers a terminal remote control. React 19 · TypeScript · Redux Toolkit · Tailwind CSS · Node.js · Express 5 · MongoDB · Socket.IO · MCP · OAuth 2.1 · YouTube Data API
  4. 04 HallSync Lecture hall scheduling for a university faculty · team project 2026 Replaces printed timetables and spreadsheets for the Faculty of Computing at Sabaragamuwa University of Sri Lanka. A FastAPI and MongoDB backend checks for overlapping bookings before any hall is reserved. Administrators manage halls, departments, modules and timetables, and import users in bulk from CSV or Excel, in a Next.js dashboard. Students and lecturers use a Flutter app to see live schedules, book free halls, find rooms on Google Maps and get instant WebSocket notifications when a lecture is moved. It also covers JWT auth, OTP password resets and welcome emails sent with Resend. Built with four other students and deployed on Railway, Vercel and MongoDB Atlas. FastAPI · Python · MongoDB Atlas · Next.js · Flutter · WebSockets · Resend
  5. 05 SiteClone AI Chrome extension that turns any website into a prompt to rebuild it 2026 A prompt generator for recreating websites. Open any site you like, run SiteClone AI, and it analyses the page: its theme and colour palette, typography, layout, spacing and animations. It turns everything it finds into one detailed, one-shot prompt describing how to build a similar site. Paste that prompt into an AI website builder such as v0.dev or Lovable and you get a site with the same look and feel, without describing the design by hand. JavaScript · Chrome Extension (Manifest V3) · Content scripts · Prompt engineering

(04) Focus

Where I dig in

F/01 Backend & APIs design · cache · queue

Clean, well-documented REST APIs with sensible auth, caching, message queues and databases tuned for the way the data is actually used.

  • Node.js
  • Express
  • FastAPI
  • Spring Boot
  • PostgreSQL
  • MongoDB
  • Redis
  • Prisma
F/02 System Design scale · fault tolerance

Architectures that stay simple as they grow — clear service boundaries, distributed-systems fundamentals, and failure modes thought through before they happen.

  • Distributed systems
  • API gateways
  • Data modelling
  • Fault tolerance
F/03 Cloud & DevOps containers · CI/CD · AWS

Containerised services, automated pipelines and infrastructure on AWS — so shipping is boring and repeatable.

  • Docker
  • GitHub Actions
  • AWS
  • Nginx
  • Linux
F/04 AI Engineering just getting started

I've started learning AI engineering: how to build on top of LLM APIs and wire them sensibly into the kind of backends I already build.

(05) How I work

01 / 04

01

Understand the problem.

Who's it for, what hurts today, and what does “working” look like? Requirements first, code second.

02

Design the solution.

Data model, API contracts and architecture on paper — with the trade-offs written down, not discovered in production.

03

Engineer it.

Typed, tested, containerised and documented. Code someone else can pick up and run on day one.

04

Improve it.

Measure, profile, refactor, repeat. Every version should be faster, clearer or more reliable than the last.

(06) Toolbox

The stack

Languages

TypeScript · JavaScript · Python · Java · Swift

Frontend

React · Next.js · React Native · Tailwind CSS

Backend

Node.js · Express · FastAPI · Spring Boot

Databases

PostgreSQL · MySQL · MongoDB · Redis · Prisma · Firebase

DevOps & Cloud

Docker · GitHub Actions · AWS · Nginx · Linux

Learning

AI engineering · LLM APIs

(07) Writing

Notes from the backend

All on Medium ↗
  1. Implementing JWT-Based Authentication Using Node.js and MongoDB Putting the theory into practice — a simple authentication system with Node.js and MongoDB, built step by step with JSON Web Tokens.
  2. What is JWT? The Guide to JSON Web Tokens What JSON Web Tokens are, how they work, and why they took over from traditional session-based authentication.