Backend Development

With Python and FastAPI, we write typed, testable server services that come with authentication, authorization, logging and device communication built in.

Every new backend service we write starts with Python 3.12+ and FastAPI. All data structures are Pydantic models; database access goes through SQLAlchemy 2 and schema changes through Alembic migrations. Parts that repeat in every service, such as authentication, role-based permissions, logging and database and Redis connections, come from our shared in-house library, so a new service meets the same standard from day one.

Most of our services sit behind a piece of hardware. They serve users over REST and WebSocket, talk to devices in a binary message format over TCP/UDP sockets and fan live data out to clients with Redis pub/sub. When a client contract requires it, we also work with Java and Spring Boot.

Field
  • Device
Gateway
  • Device gateway
Service
  • FastAPI
  • PostgreSQL
Client
  • Web interface
Data flow in a typical service of ours

What we do

  • API design

    Async REST endpoints, live data over WebSocket, schemas validated with Pydantic.

  • Identity and access

    JWT access and refresh tokens, token rotation, RBAC and OAuth 2.0.

  • Device gateway

    Binary protocol to field devices over TCP/UDP; HTTP only for the management interface.

  • Code quality

    Dependency management with uv, linting and formatting with ruff, static type checking.

Technologies we use

  • Python 3.12+
  • FastAPI
  • Pydantic
  • SQLAlchemy
  • Alembic
  • PostgreSQL
  • Redis
  • JWT
  • WebSocket

From the field

We describe client projects without naming them, for confidentiality.

  • Official statistics platform

    Secure services and role-based access for data entry, validation and editing workflows.

  • PowerNexus

    Local automation services that switch devices on and off in sequenced scenarios and track energy consumption.

    Explore →