mirror of
https://github.com/ycd/manage-fastapi.git
synced 2021-11-08 01:34:39 +03:00
773fd42a4ed1a4ced71da618474cb012a9edf30e
PROJECT IS UNDER DEVELOPMENT
Command line management for FastAPI like django-admin
manage-fastapi run
manage-fastapi start-project # this will initialize a new project with some dirs etc.
Example structure
manage-fastapi startproject [project_name}
project/
├── main.py
├── __init__.py
└── project
├── database
│ └── session.py
├── schemas
│ └── schema.py
└── settings.py
manage-fastapi startapi {api_name}
Expected behaviour: from startapi
Will understand the location of main.py and create a folder with the_name
v1
├── api.py
├── endpoints
│ └── endpoint.py
└── __init__.py
ready-to-code backend
project/
├── main.py
├── project
| ├── __init__.py
│ ├── database
│ │ └── session.py
│ ├── schemas
│ │ └── schema.py
│ └── settings.py
└── v1
├── api.py
├── endpoints
│ └── endpoint.py
└── __init__.py
Description
Languages
Python
94.6%
Dockerfile
5%
Shell
0.4%