tsarbas / django-boilerplate

This is a boilerplate for Django projects. It includes a basic setup for a Django project with a PostgreSQL database, daisyui for the frontend and docker-compose for development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django boilerplate

This is a boilerplate for Django projects. It includes a basic setup for a Django project with a PostgreSQL database, daisyui for the frontend and docker-compose for development.

Features

  • Django 5
  • PostgreSQL
  • DaisyUI
  • Docker-compose

Getting started

  1. Clone the repository
git clone https://github.com/tsarbas/django-boilerplate.git myproject
  1. Run database
docker-compose up -d
  1. Install backend dependencies
poetry install
  1. Install frontend dependencies
npm install
  1. Run migrations
python manage.py migrate
  1. Install pre-commit hooks
pre-commit run --all-files
pre-commit install
  1. Run css watcher
npm run dev
  1. Run the server
python manage.py runserver

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is a boilerplate for Django projects. It includes a basic setup for a Django project with a PostgreSQL database, daisyui for the frontend and docker-compose for development.

License:MIT License


Languages

Language:Python 88.1%Language:JavaScript 11.9%