react-tailwind-django-starter Tailwind Templates

React Tailwind Django Starter

A modern full-stack starter template with React.js, Tailwind CSS, and Django. Quickly set up scalable projects with pre-configured tools for seamless integration. Perfect for building dynamic web apps, this template ensures an efficient development experience for both beginners and professionals.

Full-Stack Django React Application with Docker and Docker Compose

A full-stack web application built with Django REST Framework and React.

Project Overview

  • User authentication and authorization
  • Auth0 for social login
  • Tailwind CSS for styling
  • Profile management with customizable user details
  • Email verification system
  • Background task processing with Celery
  • Redis caching and message broker
  • PostgreSQL database
  • Docker containerization

Tech Stack

Backend

  • Django REST Framework
  • PostgreSQL
  • Redis
  • Celery
  • JWT Authentication

Infrastructure

  • Docker
  • Docker Compose

Prerequisites

  • Docker
  • Docker Compose

Environment Setup

  1. Clone the repository

  2. Copy the environment file:

    cd backend
    cp .env.example .env
    
  3. Update the environment variables in the .env file:

    SECRET_KEY=changeme
    DEBUG=True
    POSTGRES_DB=changeme
    POSTGRES_USER=changeme
    POSTGRES_PASSWORD=changeme
    DB_HOST=postgres
    
  4. Build and start the Docker containers:

    docker-compose up --build
    

This will start:

  • Django backend server (:8000)
  • React frontend (:3000)
  • PostgreSQL database (:5433)
  • Redis (:6379)
  • Celery worker
  • Celery beat scheduler

Top categories

Loading Svelte Themes