Back to browse
GitHub Repository

A Runtime for Backend APIs

3 starsTypeScript

FastBack end – schema-first back end runtime with OpenAPI output

by ombedzi·May 19, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainShip It

Schema-to-IR compiler beats Hasura's GraphQL lock-in with framework-agnostic REST.

Strengths
  • Framework-agnostic IR allows swapping FastAPI or Express adapters without changing schema.
  • Generates valid OpenAPI specs automatically from database definitions for frontend typing.
  • Supports custom route overrides so business logic doesn't get lost in codegen.
Weaknesses
  • FastAPI adapter currently uses in-memory storage, limiting immediate production utility.
  • Competes directly with mature tools like Hasura, PostgREST, and NestJS CRUD generators.
Target Audience

Backend developers building REST APIs

Similar To

Hasura · PostgREST · NestJS CRUD

Post Description

Hi HN - author here. FastBackend reads a SQLAlchemy or Prisma schema, compiles it to a framework-agnostic IR, and a runtime adapter serves CRUD + relationships as REST with OpenAPI on the side. Try it in ~2 min: npm i -g @fastbackend/cli git clone https://github.com/darula-hpp/fastbackend cd fastbackend/examples/sqlalchemy-fastapi pip install -r requirements.txt fastbackend generate && fastbackend dev open http://localhost:8301/docs What's shipped: - CLI + core on npm (@fastbackend/cli 0.1.2) - FastAPI adapter on PyPI (fastbackend-fastapi) - Express + Prisma adapter on npm - Custom routes and overrides for non-CRUD logic Honest limits: - FastAPI adapter uses in-memory storage (MVP) - Express + Prisma is more production-shaped - No hosted platform — self-hosted codegen/runtime The IR is the interesting part: same schema could be served by different backend adapters. OpenAPI is the frontend handoff (Orval, openapi-typescript, etc.). Roadmap (not shipped): declarative wiring for storage/OAuth with secrets in .env. Happy to answer architecture questions or comparisons to Supabase, PostgREST, FastAPI-CRUD, etc.

Similar Projects