mypaas
full-stack-fastapi-template
mypaas | full-stack-fastapi-template | |
---|---|---|
1 | 28 | |
367 | 23,069 | |
- | - | |
0.6 | 9.5 | |
12 days ago | 7 days ago | |
Python | TypeScript | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mypaas
full-stack-fastapi-template
-
Building a Secure API with FastAPI, PostgreSQL, and Hanko Authentication
This project is a modification of the authentication flow of the awesome repository made by tiangolo at full-stack-fastapi-postgresql
- Do you know any quality FastAPI starter projects?
-
What is a sensible way to go about designing an authentication microservice?
FastAPI with a PostgreSQL database: https://github.com/tiangolo/full-stack-fastapi-postgresql/tree/master
- Faster way to kickstart and develop backend REST apis?
-
Is a Framework like Django possible in Rust
Ha! I do write SQL since that's where I cut my teeth many years ago. But I mostly use stored procedures where possible. I prefer not to use ORMs - sorry I don't find that side work... I am not saying Django's was bad or inferior, just do not prefer it. For FastAPI - maybe you missed the various repos with everything you mentioned was missing (there are great ones directly from the maintainer as well as others). No more glue than what you find in all the modules in a large Django project, just maybe in different forms and flavors. Besides, we're here to talk about Rust, making me wonder why we're debating two Python projects. Yes, I fell in love with Django, the romance faded in 2018, and I moved on. Feel free to enjoy using it - I'm not trying to sway you away from it!
- Is there any open source project that uses FasAPI?
-
How to build a scalable project file structure for a beginner.
I've just recently switched to a structure that follows Netflix's Dispatch application after starting with https://github.com/tiangolo/full-stack-fastapi-postgresql and it feels way better and organized.
- ORM for FastAPI+PostgreSQL, Tortoise or Sqlalchemy? what would you choose and why?
-
Creating a webpage for data entry
Honestly your easiest option for data gathering would be to create google spreadsheets/forms and give each municipality access. For a custom data entry platform I suggest looking for templates like this one and learning how to add custom logic to the boilerplate: https://github.com/tiangolo/full-stack-fastapi-postgresql
-
FastAPI Best Practices
I would encourage you to take a look at this repo: https://github.com/tiangolo/full-stack-fastapi-postgresql This is a boilerplate of an application made with fastapi, prepared by the creator of the fastapi himself. You can even set it up yourself locally and have a look how it’s organised. I know it has a lot of different services included, but I find the fastapi part itself to be well thought. Inside the api directory you can notice another folder named api_v1, so you can have multiple versions of your API routes when needed, with the general code in other places that is more generic and can be reused in all your different API versions. The schemas are separated from the models and models itself have different classes depending on what you would actually like to do with the data. The migrations are managed with alembic based on schemas rather than models itself. The settings are a python class that implicitly reads the .env file in your project’s directory. And many, many other interesting patterns to explore. Too much to write in one comment to be honest.
What are some alternatives?
docker-rollout - 🚀 Zero Downtime Deployment for Docker Compose
fastapi-starter - A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress
Redcloud - Automated Red Team Infrastructure deployement using Docker
fastapi-react - 🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
sailor - Sailor is a tiny PaaS to install on your servers/VPS that uses git push to deploy micro-apps, micro-services, sites with SSL, on your own servers or VPS
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
miko - Sailor is a tiny PaaS to install on your servers/VPS that uses git push to deploy micro-apps, micro-services, sites with SSL, on your own servers or VPS [Moved to: https://github.com/mardix/sailor]
cookiecutter-djangopackage - A cookiecutter template for creating reusable Django packages quickly.
mrsk - Deploy web apps anywhere. [Moved to: https://github.com/basecamp/kamal]
fastapi-users - Ready-to-use and customizable users management for FastAPI
docker-celery-flower - Minimum docker/fastapi/celery/flower setup
fastapi-azure-auth - Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.