Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

README.md

Industrial Telemetry Data API

Portfolio-ready NestJS backend for querying historical process telemetry.

Ownership and Delivery

This project was built entirely by me and delivered to a Swedish client within 2 weeks.

Highlights

  • Versioned REST API (v1 and v2)
  • Time-series query endpoints for tags, metadata, and latest values
  • TypeORM + PostgreSQL/TimescaleDB data model
  • Swagger docs available at /api

Tech Stack

  • Node.js
  • TypeScript
  • NestJS
  • TypeORM
  • PostgreSQL

Local Setup

cd data-api
npm install
cp .env.example .env
npm run start:dev

The service starts on http://localhost:3001 by default.

Configuration

Environment variables used by the app:

  • DB_HOST
  • DB_PORT
  • DB_USER
  • DB_PASS
  • DB_NAME
  • PORT (optional, default 3001)
  • CORS_ORIGINS (optional CSV, default http://localhost:3000)

Testing

npm run test
npm run test:e2e

Notes

This repository is a sanitized portfolio version. Infrastructure, deployment pipelines, and raw production-like datasets were removed or replaced with synthetic examples.