A starter template for building full-stack web applications using Django (backend), React (frontend), and TailwindCSS. Comes pre-configured with REST API support, authentication, and ready-to-use development and production settings.
Project description
Full-Stack Django + React + TailwindCSS โก
A one-command starter for a full-stack app with Django (backend) and React + TailwindCSS + Vite (frontend) โ all in a single repo. Auto-configures for development and production.
Windows:
- py -m pip install django-react-cli
- py -m django-react-cli
Linux
python3 -m pip install django-react-cli python3 -m django-react-cli
๐ฆ Features
Frontend
- โก Vite + React + TailwindCSS
- ๐ ๏ธ Auto-generated
vite.config.jsandindex.css - ๐ Env-based settings via
config.json - ๐จ Preconfigured fonts and theme
Backend
- ๐ Django + Django REST Framework
- ๐ Token-based authentication
- ๐ CORS support via
django-cors-headers - ๐ฆ Whitenoise for static file handling
- ๐๏ธ SQLite (development) / PostgreSQL (production)
- ๐ Env-based settings via
config.json
Extras
- ๐ Unified directory structure for frontend and backend
- โ๏ธ Auto-generated
config.jsonfor easy environment switching - ๐ Django templates serve Vite dev server in development and built static files in production
๐ Requirements
- Python 3.8+
- Node.js 18+ & npm
- pip (comes with Python)
- PostgreSQL (only needed in production)
Project Structure
your-project/
โโโ account/ # Django app
โโโ core/ # Django project
โโโ src/ # React source
โโโ static/ # Collected static files
โโโ dist/ # React build (prod)
โโโ env/ # Python virtualenv
โโโ media/ # Uploaded files
โโโ template/ # Django templates
โโโ config.json
โโโ requirements.txt
โโโ vite.config.js
โโโ manage.py
โโโ package.json
โโโ index.css
License
django-react-cli is licensed under the MIT License.
Contacto
LinkedIn hugo aragon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_react_cli-1.0.0.tar.gz.
File metadata
- Download URL: django_react_cli-1.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a44c46cd05acbc13e5c57276a8db14d02952552b5e2051929b0aed0101d8732f
|
|
| MD5 |
154dc37cd144bf8e429edebec978159a
|
|
| BLAKE2b-256 |
859664d9ac9ff463cb911fce4ede1ec7c744d1f97f11dad0c91bb4fe64fee6c5
|
File details
Details for the file django_react_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: django_react_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4acf34ec1172c9712b75f75518a7a5e57e303192db85e00e8196761be7a6e2
|
|
| MD5 |
d62c4b5800ff2f170e2ad55b1cdc320a
|
|
| BLAKE2b-256 |
78046f87b3a84ba92f2dd6c4a7b0591589425e5d7fb31dd4ec5b74c3161f90f1
|