22 <a href="https://github.com/nickatnight/cookiecutter-fastapi-backend/actions">
33 <img alt="GitHub Actions status" src="https://github.com/nickatnight/cookiecutter-fastapi-backend/actions/workflows/main.yml/badge.svg">
44 </a>
5- <a href="https://github.com/nickatnight/cookiecutter-fastapi-backend/releases"><img alt="Release Status" src="https://img.shields.io/github/v/release/nickatnight/cookiecutter-fastapi-backend"></a>
5+ <a href="https://pypi.org/project/cookiecutter-fastapi-backend/">
6+ <img alt="PyPi Shield" src="https://img.shields.io/pypi/v/cookiecutter-fastapi-backend">
7+ </a>
68 <a href="https://github.com/nickatnight/cookiecutter-fastapi-backend/blob/master/LICENSE">
79 <img alt="License Shield" src="https://img.shields.io/github/license/nickatnight/cookiecutter-fastapi-backend">
810 </a>
1618[ Cookiecutter] ( https://github.com/cookiecutter/cookiecutter ) template to build and deploy fastapi backends to your favorite PaaS..batteries included.
1719
1820Supported PaaS's:
19- - Render.com
21+ - Render
2022- Platform.sh (Coming soon)
2123- Porter (Coming soon)
2224- Fly.io (Coming soon)
23- - AWS (Coming soon)
2425- DigitalOcean (Coming soon)
2526
2627## Quickstart
@@ -29,9 +30,18 @@ Install the latest Cookiecutter if you haven't installed it yet (this requires C
2930pip install cookiecutter
3031```
3132
32- Generate project:
33+ Generate project from GitHub template:
34+
3335``` sh
34- cookiecutter https://github.com/nickatnight/cookiecutter-fastapi-backend.git
36+ $ cookiecutter gh:nickatnight/cookiecutter-fastapi-backend.git
37+ ```
38+
39+ Or from Python code:
40+
41+ ``` python
42+ from cookiecutter.main import cookiecutter
43+
44+ cookiecutter(" gh:nickatnight/cookiecutter-fastapi-backend.git" )
3545```
3646
3747## Features
@@ -54,7 +64,7 @@ The input variables, with their default values (some auto generated) are:
5464* ` project_name ` : The name of the project
5565* ` project_slug ` : The development friendly name of the project. By default, based on the project name
5666* ` project_slug_db ` : The database friendly name of the project. By default, based on the project name
57- * ` author_email ` : The authors email...used for certbot
67+ * ` author_email ` : The authors email...for maintainer info in ` pyproject.toml `
5868* ` py_version ` : The version of Python to install. Options are ` 3.9 ` , ` 3.10 ` , and ` 3.11 `
5969* ` db_container_name ` : The name of the database container. Default ` db `
6070* ` backend_container_name ` : The name of the backend container. Default ` backend `
0 commit comments