Metadata-Version: 2.4
Name: django-react-cli
Version: 1.0.0
Summary: 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.
Home-page: https://github.com
Author: code530pro
Author-email: hugo39452@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

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.js` and `index.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.json` for 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

```bash

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](https://www.linkedin.com/in/hugo345?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app) hugo aragon
