A little project we've written for fun with my student.
It's Yet Another FastaAPI boilerplate, but done in a non-typical manner.
pdf stands for Pugsql + dbmate + fastapi, or as I call it PDF stack.
pugsql is used instead of an ORM. dbmate to run migrations (hand-written!) Feeling the 90s vibes yet? Hope you do. I also hope you learn yourself some SQL for the greater good.
It uses #fastapi #pugsql #dbmate #sql.
#postgresql for the database.
gunicorn + uvicorn.
Env based settings.
#pydantic ofc
Fully conteinarized - #docker
#poetry for env management.
#sentry.
Example of basic synchronous #stripe integration
Example of basic httponly cookie magic link auth flow
Example of basic synchronous email sending with #sendgrid
it's a cool project if you want to very quickly set up a simple small microservice eg. for stripe integrations, sending stuff to your customers after they bought it, creating newsletters and so on.
It's a very early version that's also used as a part of a mentorship programme of sorts I got going for young people or those in need, that are looking to , so expect a few rough edges. It was more about learning and exploration rather than perfection.
2 comments
[ 2.8 ms ] story [ 15.5 ms ] threadIt uses #fastapi #pugsql #dbmate #sql. #postgresql for the database. gunicorn + uvicorn. Env based settings. #pydantic ofc Fully conteinarized - #docker #poetry for env management. #sentry. Example of basic synchronous #stripe integration Example of basic httponly cookie magic link auth flow Example of basic synchronous email sending with #sendgrid
it's a cool project if you want to very quickly set up a simple small microservice eg. for stripe integrations, sending stuff to your customers after they bought it, creating newsletters and so on.
It's a very early version that's also used as a part of a mentorship programme of sorts I got going for young people or those in need, that are looking to , so expect a few rough edges. It was more about learning and exploration rather than perfection.