github fastapi/full-stack-fastapi-template 0.7.1

one month ago

Highlights

  • Migrate from Poetry to uv.
  • Simplifications and improvements for Docker Compose files, Traefik Dockerfiles.
  • Make the API use its own domain api.example.com and the frontend use dashboard.example.com. This would make it easier to deploy them separately if you needed that.
  • The backend and frontend on Docker Compose now listen on the same port as the local development servers, this way you can stop the Docker Compose services and run the local development servers without changing the frontend configuration.

Features

Refactors

  • ♻️ Update settings to use top level .env file. PR #1359 by @tiangolo.
  • ⬆️ Migrate from Poetry to uv. PR #1356 by @tiangolo.
  • 🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick. PR #1355 by @tiangolo.
  • ♻️ Use Docker Compose watch. PR #1354 by @tiangolo.
  • 🔧 Use plain base official Python Docker image. PR #1351 by @tiangolo.
  • 🚚 Move location of scripts to simplify file structure. PR #1352 by @tiangolo.
  • ♻️ Refactor prestart (migrations), move that to its own container. PR #1350 by @tiangolo.
  • ♻️ Include FRONTEND_HOST in CORS origins by default. PR #1348 by @tiangolo.
  • ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost. PR #1344 by @tiangolo.
  • 🔥 Simplify Traefik, remove www-redirects that add complexity. PR #1343 by @tiangolo.
  • 🔥 Enable support for Arm Docker images in Mac, remove old patch. PR #1341 by @tiangolo.
  • ♻️ Remove duplicate information in the ItemCreate model. PR #1287 by @jjaakko.

Upgrades

Docs

  • 💡 Add comments to Dockerfile with uv references. PR #1357 by @tiangolo.
  • 📝 Add Email Templates to backend/README.md. PR #1311 by @alejsdev.

Internal

Don't miss a new full-stack-fastapi-template release

NewReleases is sending notifications on new releases.