All Projects → michaldev → fastapi-async-mongodb

michaldev / fastapi-async-mongodb

Licence: MIT license
Simple example with FastAPI + MongoDB

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to fastapi-async-mongodb

fastapi-admin
A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
Stars: ✭ 1,765 (+3502.04%)
Mutual labels:  fastapi
lrnfast
FastAPI Notes Example using databases and postgresql
Stars: ✭ 12 (-75.51%)
Mutual labels:  fastapi
ml gallery
This is a master project of some experiments with Neural Networks. Every project here is runnable, visualized and explained clearly.
Stars: ✭ 18 (-63.27%)
Mutual labels:  fastapi
FastAPI Tortoise template
FastAPI - Tortoise ORM - Celery - Docker template
Stars: ✭ 144 (+193.88%)
Mutual labels:  fastapi
fastAPI-aiohttp-example
How to use and test fastAPI with an aiohttp client
Stars: ✭ 69 (+40.82%)
Mutual labels:  fastapi
fastapi-project
FastAPI application without global variables(almost) =)
Stars: ✭ 26 (-46.94%)
Mutual labels:  fastapi
fastdash
FastDash = FastAPI + DashBoard.
Stars: ✭ 23 (-53.06%)
Mutual labels:  fastapi
fastapi
基于Fastapi开发,集成Celery-redis分布式任务队列、JWT 用户系统、ElasticSearch和encode orm的基础项目模板,大家可以根据自己的需求在本模板上进行修改
Stars: ✭ 75 (+53.06%)
Mutual labels:  fastapi
ptt-studyabroad-api
🔎 Search articles with personalized results on ptt/studyabroad
Stars: ✭ 57 (+16.33%)
Mutual labels:  fastapi
image-background-remove-tool
✂️ Automated high-quality background removal framework for an image using neural networks. ✂️
Stars: ✭ 767 (+1465.31%)
Mutual labels:  fastapi
restish
Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
Stars: ✭ 453 (+824.49%)
Mutual labels:  fastapi
cashews
Cache with async power
Stars: ✭ 204 (+316.33%)
Mutual labels:  fastapi
fastapi-project-template
DO NOT FORK, CLICK "Use this template" - The base to start an openapi project featuring: SQLModel, Typer, FastAPI, JWT Token Auth, Interactive Shell, Management Commands.
Stars: ✭ 262 (+434.69%)
Mutual labels:  fastapi
Frodo
python/fastapi + golang/gin + Vue + docker 基于异步技术栈的个人博客系统
Stars: ✭ 133 (+171.43%)
Mutual labels:  fastapi
fastapi-mysql-generator
FastAPI + MySQL Web项目生成器 ,个人认为较为合理的项目组织结构;基于apscheduler的定时任务。
Stars: ✭ 348 (+610.2%)
Mutual labels:  fastapi
yappa
Serverless deploy of python web-apps @yandexcloud
Stars: ✭ 57 (+16.33%)
Mutual labels:  fastapi
FastAPI-template
Feature rich robust FastAPI template.
Stars: ✭ 660 (+1246.94%)
Mutual labels:  fastapi
chitra
A multi-functional library for full-stack Deep Learning. Simplifies Model Building, API development, and Model Deployment.
Stars: ✭ 210 (+328.57%)
Mutual labels:  fastapi
KivyMLApp
The repository host the API for the ML model via FastAPI, Flask and contains android app development files using KivyMD.
Stars: ✭ 54 (+10.2%)
Mutual labels:  fastapi
SetuAPI
色图API
Stars: ✭ 39 (-20.41%)
Mutual labels:  fastapi

Simple example with FastAPI + MongoDB

Plans: complete, minimalistic template based on external services.
Focused on performance, less own code and infrastructure.

Features

  • Docker with MongoDB and FastAPI
  • Poetry as dependency manager
  • Works well async (all, with db)
  • Supported snake_case -> cammelCase conversion
  • Env file parsed by Pydantic
  • ObjectID works well with FastAPI & Pydantic (I've created custom field. Compatible with FastAPI generic docs)
  • Structure with Dependency Injection (database implementation)

Build on Python: 3.8.

Installation and usage

  • Create env from template: cp example.env .env (only once)
  • Run docker stack sudo docker-compose up

TODO

Example is completely and works very well. In the future probably I add more.

  • Scheme for MongoDB
  • More examples with custom response models
  • [Maybe] File handling with external provider (Amazon S3, DO Spaces)
  • [Maybe] Authorization by external provider (Auth0)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].