ycd / manage-fastapi

:rocket: CLI tool for FastAPI. Generating new FastAPI projects & boilerplates made easy.
https://github.com/ycd/manage-fastapi
MIT License
1.67k stars 106 forks source link
boilerplate cli databases fastapi mongodb mysql postgresql project-generator project-management project-management-tool sqlite tortoise-orm

manage-fastapi

[manage-fastapi](https://github.com/ycd/manage-fastapi) Project generator and manager for FastAPI ![manage_fastapi](assets/readme.gif)

Latest Commit
Package version


Source Code: View it on Github


Features šŸš€

Installation šŸ“Œ

Manage FastAPI can be installed by running

pip install manage-fastapi

Getting started šŸŽˆ

Easiest way to start is using the defaults:

fastapi startproject [name]

But there is an interactive mode!

fastapi startproject [name] --interactive

Command line options šŸ§°

Manage FastAPI provides three different commands.

You can list them with

fastapi --help

The idea is to have a highly customizable CLI, but at the same time a simple interface for new users. You can see the available options for startproject running fastapi startproject --help:

The other commands are already available but the current implementation is too shallow. More details about startapp and run commands will be provided once they have more functionalities, at the moment you can run startapp by just:

fastapi startapp {name}

On the other hand, the run command expects you to have a startproject structure:

fastapi run

License

This project is licensed under the terms of the MIT license.