Skip to content

niel-conradie/todo-django-tailwind

Repository files navigation

To Do Django Tailwind

Django with Tailwind To Do Web Application.

A To Do web application is a computer program that uses online technology, including browsers, to help users manage their tasks. It allows users to create, read, update, and delete data, also known as CRUD operations. Users can add tasks, manage them, and mark them as completed.


Requirements


Installation

To Do Django Tailwind can be installed via docker & npm. To start, clone the repository to your local computer and change into the proper directory, then use the commands to build the docker image and install the required dependencies.

  • Clone Repository
git clone https://github.com/niel-conradie/todo-django-tailwind.git
  • Change Directory
cd todo-django-tailwind

Docker

  • Build Docker Image
docker build .
  • Compose Docker Image
docker compose up
  • Migrate Database
docker compose exec web python manage.py migrate
  • Create Superuser
docker compose exec web python manage.py createsuperuser

NPM

  • Install Dependencies
npm install

Usage

Use the following commands for your desired outcome:

Backend

  • Starting a Docker development server.
docker compose up
  • Ending a Docker development server.
docker compose down

Frontend

  • Starting a Gulp development server.
gulp
  • Ending a Gulp development server.
CTRL + C
  • Building Frontend for production.
gulp build

License

MIT License