Skip to content
All projects

BackendBJIT Limited2026

MTS-Connect — Industrial Support Portal

tRPC/Express backend for an international production-machine manufacturer, with a 5-level org hierarchy and cascading permissions.

Overview

A customer support portal for an international production machine building company, where the access model is the hard part: customers, distributors, regional offices and internal staff all sit at different depths of a five-level organizational hierarchy, and permissions cascade down it.

I designed and built the backend — a tRPC/Express service with Prisma over MySQL — splitting the surface into separate admin and customer API layers so that internal tooling could evolve without destabilising the customer contract. Authentication runs on AWS Cognito JWTs, with role resolution happening once per request and flowing through to every downstream resolver.

Beyond the core API, the system integrates with Redmine for issue tracking and syncs inventory from Zaico, with batch workers handling the periodic reconciliation. The whole thing is covered by Vitest and deployed to AWS Lambda through CDK.

Key work

  • 015-level organizational hierarchy with cascading role-based access control
  • 02Separate admin and customer API layers over a shared Prisma schema
  • 03AWS Cognito JWT authentication with per-request role resolution
  • 04External integrations: Redmine issue sync, Zaico inventory sync
  • 05Batch workers for scheduled reconciliation
  • 06Vitest test coverage; deployed to AWS Lambda via CDK