Portfolio-ready NestJS backend for querying historical process telemetry.
This project was built entirely by me and delivered to a Swedish client within 2 weeks.
- Versioned REST API (
v1andv2) - Time-series query endpoints for tags, metadata, and latest values
- TypeORM + PostgreSQL/TimescaleDB data model
- Swagger docs available at
/api
- Node.js
- TypeScript
- NestJS
- TypeORM
- PostgreSQL
cd data-api
npm install
cp .env.example .env
npm run start:devThe service starts on http://localhost:3001 by default.
Environment variables used by the app:
DB_HOSTDB_PORTDB_USERDB_PASSDB_NAMEPORT(optional, default3001)CORS_ORIGINS(optional CSV, defaulthttp://localhost:3000)
npm run test
npm run test:e2eThis repository is a sanitized portfolio version. Infrastructure, deployment pipelines, and raw production-like datasets were removed or replaced with synthetic examples.