Python & DjangoOpen source

Heronsgate

FastAPI and Next.js full-stack starter with async SQLModel

About this starter

Heronsgate pairs a FastAPI backend with a Next.js front end. The API uses async SQLModel on Postgres, Alembic migrations, OAuth2 password and Google sign-in, and Stripe subscriptions. Background work runs on ARQ with Redis. The front end has login, dashboard, billing and settings pages with a client generated from the OpenAPI schema, and Docker Compose brings everything up locally.

The project is opinionated about typing end to end: Pydantic models on one side, generated TypeScript on the other. It is a good fit if your product has a Python core, such as data processing. The limitation: no teams or roles, and the admin is a read-only list of users. Community issues suggest teams are planned, with no date.

Highlights

  • 01Async SQLModel with Alembic migrations
  • 02TypeScript client generated from OpenAPI
  • 03Docker Compose runs the full stack locally

Tags

Related starters

More in Python & Django
  • Plinth

    Python & Django

    Open source

    Bare-bones Django starter with sane settings and nothing else

    Free3.9
    • django
    • minimal
  • Fieldnote

    Python & Django

    One-time

    Schema-per-tenant Django kit for B2B products with strict data isolation

    $349 once4.4
    • multi-tenant
    • django
  • Ochre

    Python & Django

    One-time

    Django and Wagtail starter for paid newsletters, courses and memberships

    $159 once4.1
    • wagtail
    • memberships
Live demo · Starter Bench— View template →