1
0
mirror of https://github.com/ycd/manage-fastapi.git synced 2021-11-08 01:34:39 +03:00
Yağızcan Değirmenci 773fd42a4e Create LICENSE
2020-08-08 17:07:48 +03:00
2020-08-08 04:09:51 +03:00
2020-08-08 17:07:48 +03:00
2020-08-07 02:41:05 +03:00
2020-08-07 02:43:33 +03:00

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
Languages
Python 94.6%
Dockerfile 5%
Shell 0.4%