https://github.com/iml1111/imfast-motor
Boilerplate for Large Scale FastAPI Web Backend Structure with Motor(Mongodb)
https://github.com/iml1111/imfast-motor
boilerplate fastapi mongodb
Last synced: about 1 year ago
JSON representation
Boilerplate for Large Scale FastAPI Web Backend Structure with Motor(Mongodb)
- Host: GitHub
- URL: https://github.com/iml1111/imfast-motor
- Owner: iml1111
- License: mit
- Created: 2022-07-12T15:20:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T16:05:50.000Z (about 2 years ago)
- Last Synced: 2025-04-24T00:03:05.210Z (about 1 year ago)
- Topics: boilerplate, fastapi, mongodb
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# IMFast-Motor
**Boilerplate for Large Scale FastAPI Web Backend Structure with Motor(Mongodb) (Edited 2022-07-13)**
This implementation is an extension structure of `IMFast` optimized for Motor(Mongodb async library).
[Here](https://github.com/iml1111/IMFast) you can see the basic implementation concept of IMFast.
## Model Implementation
```shell
...
├── app
│ ├── api
│ │ ├── __init__.py
│ │ └── v1
│ │ └── sample_model.py # Sample API with Mongodb
│ └── depends
│ └── context.py # Context depends for easy db access
│
├── model
│ ├── __init__.py
│ ├── appmodel
│ │ └── log.py # CRUD Pydantic Model
│ └── mongodb
│ ├── __init__.py # Mongodb Connector & Init.
│ ├── collection
│ │ ├── __init__.py # Base Model
│ │ ├── app_config.py # AppConfig Collection Model
│ │ └── log.py # Log Collection Model
│ └── initializer.py # Mongodb Initializer
...
```
## References
- https://github.com/iml1111/IMFast