This codebase is a Django + PostgreSQL boilerplate. It is intended to be used as a Booster for my Launchpad. However, that being said, it can still be used completely on its own.
- 🐍 Python 3.9
- 🐍 Django 3
- ⚙️ Django Rest Framework 3
- ⬛ Black for consistent code style
- 👀 Lint your code with Pylint
- 🔃 pre-commit for code quality assurance
Run the backend via the command below, then visit the API at http://localhost:5000
make up
Command | Description |
---|---|
make up |
Launches the database + server |
make down |
Removes the database + server containers |
make nuke |
Purges all database + server containers, images, networks, volumes |
make bash |
Shells into the server to run one-off commands. e.g. python manage.py test |
Command | Description |
---|---|
python manage.py test |
Runs the suite of Django tests |
python -m pylint **/*.py |
Runs Pylint to check for linting errors |
python -m black **/*.py |
Runs Black to fix linting errors |
Code released under the MIT License.