fastapi-realworld-example-app
full-stack-fastapi-template
Our great sponsors
fastapi-realworld-example-app | full-stack-fastapi-template | |
---|---|---|
2 | 28 | |
2,088 | 22,914 | |
- | - | |
5.5 | 9.4 | |
over 1 year ago | 6 days ago | |
Python | TypeScript | |
MIT 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.
fastapi-realworld-example-app
-
Best places/ways to learn APIs for career progression?
I'd also recommend checking out various "real world" repositories. E.g. one for FastAPI is here It comes with perfectly reasonable API.
-
New server-side framework based on monadic parsing
Me showing off Okapi (hopefully): Okapi is simple. A functor can do this, applicative can do this, a monad can do this. Learn this small set of functions. Sequence them with do. Branch them with <|>. You need to learn the structure of an HTTP request, but that's good because you need to know that anyway if you want to develop Web apps. Here's the documentation. Look at how simple and compact this is compared to this.
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?
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
fastapi-starter - A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress
yt-dlp-bot - Self-hosted Video Download Telegram Bot 🇺🇦
fastapi-react - 🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
okapi - A data-driven micro web framework for Haskell
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
hass-weatherflow2mqtt - WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
cookiecutter-djangopackage - A cookiecutter template for creating reusable Django packages quickly.
fastapi-users - Ready-to-use and customizable users management for FastAPI
Suave.IO - Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
docker-celery-flower - Minimum docker/fastapi/celery/flower setup