-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcookiecutter.json
40 lines (40 loc) · 1.98 KB
/
cookiecutter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"project_name": "My FastAPI App",
"app_description": "A backend service of ella-lab.",
"contact_person": "Firstname Lastname",
"database": ["No DB", "MongoDB (pymongo)", "MongoDB (beanie)", "MongoDB (motor.io)(wip)", "SQL (sqlalchemy)(niy)"],
"use_socketio": "No",
"use_graphql": "No",
"use_auth0": "No",
"use_gcp_pubsub" : "No",
"use_server_side_rendering": "No",
"use_gradio": "No",
"__run_post_gen_tests": "No",
"__linter": false,
"__keep_internal_readmes": false,
"__contact_email": "{{ cookiecutter.contact_person.lower().replace(' ', '.') }}@TODO",
"__project_slug": "{{ cookiecutter.project_name | slugify(separator='_') }}",
"__app_name": "{{ cookiecutter.__project_slug }}",
"__gcp_service_prefix": "{{ cookiecutter.__project_slug.replace('_', '-') }}",
"__image_name": "{{ cookiecutter.__project_slug }}",
"__image_repo": "{{ cookiecutter.__project_slug.replace('_', '-') }}",
"__db_name": "{{ cookiecutter.__project_slug }}",
"__requires_redis" : "{{ cookiecutter.use_socketio }}",
"__mongodb": "{{ 'mongo' in cookiecutter.database }}",
"__async_db_driver": "{{ 'beanie' in cookiecutter.database or 'motor' in cookiecutter.database }}",
"__redis": "{{ cookiecutter.use_socketio }}",
"__google_auth": false,
"__needs_secrets" : "{{ cookiecutter.database | bool or cookiecutter.__requires_redis | bool }}",
"_extensions": ["local_extensions.TruthyExtension"],
"__prompts__": {
"project_name": "Enter your project name: ",
"app_description": "Enter a short description of your project:",
"database": "Choose a database",
"use_auth0": "Do you want to use auth0? (y/N)",
"use_socketio": "Do you want to use WebSockets (socket.io)? (y/N)",
"use_graphql": "Do you want to use GraphQL (straberry)? (y/N)",
"use_gcp_pubsub" : "Do you want to use gcp PubSubs? (y/N)",
"use_server_side_rendering": "Do you want server side rendering with jinja? (y/N)",
"use_gradio": "Do you want a GUI with gradio? (y/N)"
}
}