FastAPI QuickStart is a tool to quickly set up a basic structure for a FastAPI application.
pip install fastapi-quickstart-genesis
To create a new FastAPI project structure:
python -m fastapi_quickstart my_app
or
fastapi_quickstart my_app
This will create a new directory my_app with a basic FastAPI application structure.
The generated project will have the following structure:
my_app/
├── app/
│ ├── main.py
│ └── models.py
├── tests/
└── requirements.txt
To set up the development environment:
- Clone the repository
- Create a virtual environment:
python -m venv venv - Activate the virtual environment
- Install development dependencies:
pip install -r requirements.txt - Install the package in editable mode:
pip install -e .
This project is licensed under the MIT License.