2
2
<a href="https://github.com/nickatnight/cookiecutter-fastapi-backend/actions">
3
3
<img alt="GitHub Actions status" src="https://github.com/nickatnight/cookiecutter-fastapi-backend/actions/workflows/main.yml/badge.svg">
4
4
</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>
6
8
<a href="https://github.com/nickatnight/cookiecutter-fastapi-backend/blob/master/LICENSE">
7
9
<img alt="License Shield" src="https://img.shields.io/github/license/nickatnight/cookiecutter-fastapi-backend">
8
10
</a>
16
18
[ Cookiecutter] ( https://github.com/cookiecutter/cookiecutter ) template to build and deploy fastapi backends to your favorite PaaS..batteries included.
17
19
18
20
Supported PaaS's:
19
- - Render.com
21
+ - Render
20
22
- Platform.sh (Coming soon)
21
23
- Porter (Coming soon)
22
24
- Fly.io (Coming soon)
23
- - AWS (Coming soon)
24
25
- DigitalOcean (Coming soon)
25
26
26
27
## Quickstart
@@ -29,9 +30,18 @@ Install the latest Cookiecutter if you haven't installed it yet (this requires C
29
30
pip install cookiecutter
30
31
```
31
32
32
- Generate project:
33
+ Generate project from GitHub template:
34
+
33
35
``` 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" )
35
45
```
36
46
37
47
## Features
@@ -54,7 +64,7 @@ The input variables, with their default values (some auto generated) are:
54
64
* ` project_name ` : The name of the project
55
65
* ` project_slug ` : The development friendly name of the project. By default, based on the project name
56
66
* ` 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 `
58
68
* ` py_version ` : The version of Python to install. Options are ` 3.9 ` , ` 3.10 ` , and ` 3.11 `
59
69
* ` db_container_name ` : The name of the database container. Default ` db `
60
70
* ` backend_container_name ` : The name of the backend container. Default ` backend `
0 commit comments