LA
All projects
Open SourceLive2026

APMA Starter

Repository-pattern backend starter

Role / Solo — open source

APMA Starter — Repository-pattern backend starter
data access pattern
Repository
test suite
Jest
client baseline
Reusable

The problem

Every new backend was repeating the same auth, validation, logging and test scaffolding, with small differences that became bugs.

Approach

  • Extracted the shared backend shape into routes, controllers, services and repositories.
  • Included JWT auth, request validation, structured errors, Socket.IO wiring and Jest tests.
  • Documented the conventions so a new project starts from a known baseline.

Result

  • Used as the starting point for OptiFleetDZ and other client work.
  • Public repository, reusable without attribution.

Stack

  • Express 5
  • MongoDB
  • Passport
  • Socket.IO
  • Joi
  • Jest