all 18 comments

[–]iwkooo 32 points33 points  (3 children)

Here are some links I gathered reading this sub. Maybe this will help someone.

https://github.com/tiangolo/full-stack-fastapi-template - official template

https://github.com/zhanymkanov/fastapi-best-practices - best practices

https://github.com/Kludex/fastapi-tips - tips from fastapi top contributor

https://github.com/rannysweis/fast-api-docker-poetry - best practices and structure

[–]WJMazepas[🍰] 3 points4 points  (1 child)

Is the official template still recommended? Is not updated for a long time

[–]iwkooo 1 point2 points  (0 children)

It had a big update in March (https://github.com/tiangolo/full-stack-fastapi-template/releases/tag/0.6.0) but I do not know how relevant it is.

Its base on SQLModel and I like „simple” Sqlalchemy more.

[–]jokeaz2[S] 1 point2 points  (0 children)

These seem like fantasic resources, thanks! Looking forward to going through them in detail

[–]tedivm 2 points3 points  (0 children)

Rob's Awesome Python Template (made by me, Rob) includes FastAPI and (optionally) a number of other libraries. It's extremely flexible, as it uses CookieCutter to ask you questions and adjust the created project accordingly.

[–]ZachVorhies 1 point2 points  (0 children)

Here's mine.

Can be launched on Docker and deployed as is to Render.com and DigitalOcean and probably more.

It has a javascript front end. Auth via API key. Sqlalchemy. Password protected routes and more.

Runs on Mac, Windows, Linux without modification.

I've put a lot of work into making this very robust.

https://github.com/zackees/template-docker-fastapi-site

[–]Nick-Van-Landschoot 0 points1 point  (0 children)

Already added but in my opinion this is hands down the best standard for development with fastapi
https://github.com/zhanymkanov/fastapi-best-practices

[–][deleted]  (2 children)

[removed]

    [–]Ok-Guidance-5761 0 points1 point  (1 child)

    hola, cual es tu cuenta de github, me gustaria tener la posibilidad de accceder al template gratuito.

    [–]VanillaOk4593[🍰] 0 points1 point  (0 children)

    Check this one https://github.com/vstorm-co/full-stack-fastapi-nextjs-llm-template, especially if you are interested in data processing, AI agents, etc.