New: six AI app starters, tested with real usage-based billingSee AI starters

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
  • Bare-bones Django starter with sane settings and nothing else

    • django
    • minimal
    • open source
    Open sourceFree
  • Schema-per-tenant Django kit for B2B products with strict data isolation

    • multi-tenant
    • django
    • b2b
    One-time$349 once
  • Django and Wagtail starter for paid newsletters, courses and memberships

    • wagtail
    • memberships
    • newsletter
    One-time$159 once
Live demo · Forkable— View template →