Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T16:05:50.000Z (10 months ago)
- Last Synced: 2024-10-09T17:34:29.154Z (4 months ago)
- Topics: boilerplate, fastapi, mongodb
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![imfast](https://user-images.githubusercontent.com/29897277/178490130-561c60cd-5e77-47c8-a5a4-239c908a1b13.png)
# 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