Loading repository data…
Loading repository data…
Code-and-Sorts / repository
Cookiecutter API templates for Azure Function Apps, AWS Lambdas, and Google Cloud Functions.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A Copier template for generating REST APIs across multiple cloud platforms and languages.
Install Copier (and the Jinja extensions the templates use) with pip or pipx:
# pipx is strongly recommended.
pipx install copier
pipx inject copier jinja2-strcase jinja2-time
# If pipx is not an option, install into your Python user directory.
python -m pip install --user copier jinja2-strcase jinja2-time
Each language lives in its own template directory (python, typescript, dotnet,
go). Copier reads the configuration from the directory you point it at, so clone the
repository and generate from the language you want:
git clone https://github.com/Code-and-Sorts/cookiecutter-api.git
copier copy ./cookiecutter-api/{LANGUAGE_OPTION} ./my-api
Follow the prompts to configure your project. The generated project includes a
.copier-answers.yml file, so you can pull in future template changes with:
cd my-api
copier update
[!NOTE] Each project follows the controller-service-repository pattern.
Python
Typescript
Dotnet
Go
Below are the SDKs and frameworks used in the various templates.
Florian Maas' cookiecutter-poetry repository was a helpful resource for building out this template.