Sijan Maharjan

Sijan Maharjan

Backend and full-stack engineer. Python and TypeScript, AWS and Azure, AI agents.

The health platform as I work on it: messages arrive and leave through four channels, two engines decide what happens next, and AWS runs everything underneath.

I build backends and the tools people run on them. For a digital health platform in Mexico I built the engine that messages users across channels, an AI assistant on WhatsApp and the web, and the AWS infrastructure under both, which I moved to the Mexico Central region.

Since July 2026 I have been building HydroChem's operations platform for water treatment field work: Azure Functions APIs, React back-office screens and the PDF reports clients receive.

5
lifecycle messaging workflows on the health platform
10
pilot and demo clients on the health platform
3
environments moved to AWS Mexico Central
6
features wired into the web chatbot
500+
of my commits across 4 HydroChem repositories
24
HydroChem role gates given Kinde permission checks

Digital health platform, Mexico: four systems

Python on AWS serverless, with LangGraph agents. All of this work was delivered in co-authorship with Aayushi Saxena.

Agentic framework and chatbot

An AI assistant on WhatsApp and the web that reads lab reports, checks symptoms from photos and sends PDF reports, with automatic language detection and Spanish support.

LangGraph, Python, WhatsApp, S3, RDS

  • Orchestrated AI agents with LangGraph behind a central query router.
  • Persistent WhatsApp conversation context stored in S3 and the database.
  • Access limited to approved users, with rejection templates for everyone else.
  • Automatic language detection and Spanish localization.
  • Face scan and lab report features, a WhatsApp message formatter, and a symptom checker that accepts one or several images.
  • Profile and relationship queries, and PDF delivery when users ask for their reports.
  • Split the chatbot into its own service and deployed the agentic system to production.
  • Web chatbot integrations: lab report, AI report, symptom checker, risk checker, voice scan and OTP sign-in.
  • Chat history with media uploads and form events.

Communication engine

The engine that decides what each user hears next, on which channel and in which language.

Python, webhooks, A/B testing, CSV exports

  • Took over the backend through a knowledge transfer, then built five workflows: first scan, repeat scan, questionnaire completion, first personalized report and lab report reminders.
  • Channel mapping with email as the fallback, and webhook-based status sequencing.
  • Engagement analysis, custom email click tracking and per-user language tracking.
  • Workflows for pre-approved and unapproved users, plus an auto-rejection workflow.
  • A/B testing and multi-channel engines.
  • Moved every communication to the V2 theme.
  • Internal tool APIs for engine data, CSV exports and template management.

AWS migration to Mexico Central

Moved the whole platform, from Dev to Prod, to the Mexico Central region and released V1 on the migrated APIs.

Serverless Compose, Cognito, S3, SSM, API Gateway, RDS

  • Wrote the migration plan and set up Serverless Compose.
  • Built a cross-region workaround for Cognito.
  • Migrated S3 objects, SSM parameters and API Gateway custom domains.
  • Migrated and validated the databases, with functional testing.
  • Dev, Stage and Prod migrated for the mobile app, web app and internal tool.

Security and DevOps

Hardened sign-up and storage, upgraded the runtime, and set up separate environments for partners.

Twilio, RDS, Python 3.12, Lambda layers, IAM

  • Asymmetric password encryption.
  • Twilio SMS verification and an OTP sign-up backend.
  • Flow and templates for users pre-approved with credentials.
  • Encrypted RDS in Dev, Stage and Prod, with the Lambda endpoints updated.
  • Upgraded Python 3.9 to 3.11 and 3.12, layers included, in the main and demo/trial environments.
  • Environment for the Medsi models (database, API Gateway, IAM), and the HSBC environment with its auth Lambdas.
  • Deployment management and production fixes.

Ten pilot and demo backends, from state health services to banking

What I built for each client, grouped by sector.

Public health4 clients

SESEQROCURP lookup API with Selenium, custom risk-based health reports, WhatsApp flow, PDF reports over WhatsApp, web QR scan and pilot support.
ISSEABackend for the demo app.
IMSSAPIs and database for the demo app.
Cruz Roja (Red Cross)App backend.

Pharmacy chains3 clients

Farmacias SimilaresWhatsApp report delivery flow.
Farmacias del Ahorro, Farmacias GuadalajaraHealth questionnaires, scans, recommendations and user communications.

Banking1 client

HSBCCode verification and automatic user approval.

Skincare and beauty tech2 clients

PanalabQuestionnaire, product mapping, skincare recommendations and report delivery.
PerfectCorpMigrated the V2 APIs to Python.

HydroChem: from a technician's visit to the client's report

July 2026 to now, with the HydroChem team. TypeScript on Azure Functions with Prisma and PostgreSQL, React 19 web apps and a .NET PDF composer: over 500 of my commits across the API, web, PDF and docs repositories.

  1. DesignOffice staff build task templates, report sections and layouts.
  2. VisitTechnicians run tasks, JSEAs and samples in the field app, then sync.
  3. ReviewSupervisors comment, approve or send back behind an approval gate.
  4. ReportThe client PDF rebuilds whenever its inputs change.
  5. ClientApproved reports go to the location's contacts.

Service call review and client reports

The screen where supervisors check a technician's visit, and the rules that decide when its report can reach the client.

TypeScript, Azure Functions, Prisma, React

  • Reworked the service call review screen: its data, decisions, status panels and approval gate.
  • Per-tab comment approvals for JSEAs (job safety and environmental analyses), improvement notices and dockets, with office edits written back to the technician's answers.
  • A send-to-client state model with report validation. A failed auto review no longer blocks approval, and tasks that were never started stay out of the client PDF.
  • Stored report PDFs rebuild when their inputs change, one service call at a time, and keep going when a single report fails to queue.
  • Reworked service call exceptions into seven keys and surfaced the completion reason in the details panel.
  • A View Report component library and a PDF viewer with zoom, download and labelled photo previews.

Template designer and report layouts

A drag-and-drop designer for the templates technicians fill in and the reports clients receive.

React, TypeScript, .NET, QuestPDF, Azure Blob storage

  • Report header, footer, start and end sections, previewed on an A4 page.
  • Column containers with a drag-and-drop column tree, nesting rules and a blocked-drop indicator.
  • Info blocks for service calls, JSEAs, improvement notices, dockets and work orders, mapped to fields in the legacy Dragonfly system.
  • Template versioning: activate and duplicate versions, publish history, and no deletion once a version has been published.
  • A location scope tier in the template resolution engine, and a template code picker for matching.
  • In the .NET PDF composer, drew info block signatures, record rows and risk analysis questions with QuestPDF.
  • Audit logs for every template change, and blob storage uploads for template images.

Users, roles and permissions

Moved access control onto Kinde permissions and gave admins the screens to manage people and roles.

Kinde, Prisma, PostgreSQL, React

  • A permission catalog, Kinde machine-to-machine helpers, and APIs to manage permissions and the roles they attach to.
  • Permission checks on 24 role gates, plus new Supervisor and System Administrator roles.
  • Moved role storage to a user-role join table, with a backfill script for existing users.
  • Edit user with Kinde sync, suspension and rollback on delete, rejection of disabled accounts, and forced logout on 401.
  • Role-conditional create and edit forms with branch rules.
  • Audit log service, API and screen, including barcode scans recorded from the field app.

Samples, equipment and field data

Lab samples, equipment records and the data technicians send back from site.

Azure Functions, Prisma, React

  • Sample collections list; equipment, lab and sample lookups; vial history in sample details.
  • Sample and coupon tasks pinned to the chosen template when a sample call is created.
  • Global settings for GPS radius and regex-validated barcode masks.
  • Synced on-site notes from the device, recorded a technician's call start from their first synced timesheet, and stopped concurrent uploads from creating duplicate scan rows.
  • Hardened account manager provisioning: retries, claim release and email validation.

Search, grids and quality

Fast, consistent lists across the back office, backed by tests and written API contracts.

MUI X DataGrid, TanStack Query, Jest, Docusaurus

  • Extended the grid query builder with multi-relation, dotted-path and Name (ID) search filters.
  • Server-side search for technician, location and lab filters, with applied filter labels resolved by id.
  • Consistent Name (ID) display and title-casing for names, including characters outside the basic plane.
  • Backfilled unit tests across handlers, services and validations, with 100% coverage on the service-templates request module.
  • API contracts, feature plans and a permissions reference in the Docusaurus docs.

The stack behind this work

Cloud

  • AWS Lambda, API Gateway, Cognito
  • RDS, S3, SSM Parameter Store, IAM
  • Serverless Framework and Compose
  • Azure Functions
  • Azure Blob storage
  • Kinde auth and permissions

Backend

  • Python 3.11, 3.12
  • TypeScript on Node
  • Prisma and PostgreSQL
  • .NET with QuestPDF
  • REST APIs and webhooks
  • Selenium automation

Frontend

  • React 19 with Vite
  • TanStack Router and Query
  • Tailwind and shadcn/ui
  • MUI X DataGrid
  • Drag-and-drop editors
  • In-browser PDF viewing

AI agents

  • LangGraph orchestration
  • Central query routing
  • Persistent conversation memory
  • Language detection
  • Image-based symptom checks
  • Access control for approved users

Messaging

  • WhatsApp flows and formatting
  • Twilio SMS and OTP
  • Email with click tracking
  • A/B and multi-channel engines
  • Fallback channel mapping
  • Template management

Testing and docs

  • Jest unit tests
  • Prisma integration tests
  • Coverage gates in Azure Pipelines
  • Docusaurus documentation
  • API contracts
  • Feature plans before code