Skip to content

django-stars/backend-skeleton

Repository files navigation

Django Stars Backend Skeleton

Django project template based on cookiecutter.

Project preconfigured with best practices and tools to work from the box with minimal configuration and setup. Fast start achieved by using docker and docker compose.

What's included

How to use

Prerequisites

Installed cookiecutter and docker

Set up project

Step into directory you want to create project and generate project with cookiecutter:

cd /path/to/directory
cookiecutter https://github.com/django-stars/backend-skeleton

Answer the questions in wizard.

Steps after project setup

Step into directory of your project.

Copy .env file from example file:

cp ./api/.env.example ./api/.env

Run application:

make compose-up

We are using docker for running the app, so you don't have to keep your python env locally. But we also use pre-commit hooks, and the safety hook requires poetry to be in your PATH.

Tip

Ensure the poetry installed with the same python version as in pyproject.toml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published