BlackSheep-MVC Cookiecutter template

March 28, 2025 ยท View on GitHub

Cookiecutter template to boostrap a new BlackSheep v2 application to build a Web API.

Getting started

pip install blacksheep-cli
blacksheep create --template mvc

๐Ÿš€ Project name example
๐Ÿ“œ Use OpenAPI Documentation? Yes
๐Ÿ”ง Library to read settings Pydantic

Documentation

The documentation of the framework can be read here.

Features

For more information on rodi

For more information and documentation about rodi, see:

Using Cookiecutter

The template can also be used with Cookiecutter.

pip install cookiecutter

cookiecutter https://github.com/Neoteroi/BlackSheep-MVC

Docker image

The project template includes a Dockerfile.

To test using the image from Docker Hub:

docker run --name mvcdemo --rm -p 8080:80 \
    -e BG_COLOR='#fd7e14' \
    -e APP_ROUTE_PREFIX='orange' \
    robertoprevato/mvcdemo