A CLI tool that simplify React and Django Implementation.
Project description
๐ React Tango Creator (reactango)
The fastest way to bootstrap modern full-stack applications with React + Django
Quick Start โข Features โข Installation โข Usage โข Documentation
โจ What is React Tango Creator?
reactango is a powerful command-line tool that instantly scaffolds production-ready full-stack applications using the ReactTangoTemplate. It combines the best of modern frontend and backend technologies:
Stop wasting time on boilerplate setup and start building features from day one!
๐ฏ Quick Start
Get your new project running in under 30 seconds:
# Install reactango globally
pip install reactango
# Create your new project
reactango create my-awesome-project
# Navigate to your project
cd my-awesome-project
That's it! Your full-stack application is now ready!
๐ Features
๐๏ธ Instant Project Scaffolding
- Creates a complete full-stack project structure in seconds
- No manual setup or configuration required
- Ready-to-use development environment
๐ Clean Git History
- Automatically initializes a fresh Git repository
- Removes template history for a clean start
- Makes initial commit with all template files
โ๏ธ Modern Tech Stack
- React 18 with hooks and modern patterns
- TanStack Router for type-safe routing
- Vite for lightning-fast development
- Django with REST Framework for robust APIs
- TypeScript for type safety across the stack
๐ณ Containerized Development
- Docker Compose setup included
- Consistent development environment
- Easy deployment and scaling
๐ ๏ธ Developer Experience
- Hot reloading for both frontend and backend
- Pre-configured linting and formatting
- Organized project structure
- Comprehensive documentation
๐ฆ Installation
Install from PyPI (Recommended)
pip install reactango
๐ Usage
Basic Usage
Create a new project with the default template:
reactango create my-project-name
Advanced Options
# Create project with custom branch
reactango create-app my-project --branch feature-branch
# Skip automatic Git initialization
reactango create-app my-project --no-git
# Show help
reactango --help
Command Options
| Option | Description | Default |
|---|---|---|
project_name |
Name of your new project | Required |
--branch |
Specific branch of the template to use | main |
--no-git |
Skip Git repository initialization | False |
--help |
Show help message | - |
๐ What You Get
After running reactango create-app, your project will have:
/ (root)
โโโ api/ # Django api
โ โโโ __init__.py
โ โโโ admin.py
โ โโโ apps.py
โ โโโ models.py
โ โโโ urls.py
โ โโโ views.py
โ โโโ welcome/
โ โ โโโ __init__.py
โ โ โโโ urls.py
โ โ โโโ views.py
โ โ โโโ __pycache__/
โ โ โโโ models/
โ โ โโโ __init__.py
โ โ โโโ welcome.py
โ โโโ __pycache__/
โโโ app/ # React app (TanStack Router)
โ โโโ app.css
โ โโโ root.tsx
โ โโโ routes.ts
โ โโโ routes/
โ โ โโโ home.tsx
โ โโโ welcome/
โ โโโ logo-dark.svg
โ โโโ logo-light.svg
โ โโโ welcome.tsx
โโโ config/ # Django config
โ โโโ __init__.py
โ โโโ asgi.py
โ โโโ settings.py
โ โโโ urls.py
โ โโโ wsgi.py
โ โโโ __pycache__/
โโโ public/ # Static assets
โ โโโ favicon.ico
โโโ db.sqlite3
โโโ Dockerfile
โโโ install.js
โโโ manage.py
โโโ package.json
โโโ pnpm-lock.yaml
โโโ react-router.config.ts
โโโ requirements.txt
โโโ tsconfig.json
โโโ vite.config.ts
โโโ README.md
๐ง Prerequisites
Before using reactango, ensure you have:
- Python 3.7+ with pip
- Git for version control
- Node.js 16+ (if running frontend outside Docker)
Getting Started
Backend (Django)
- Install Python dependencies:
pip install -r requirements.txt
Frontend (React + TanStack Router)
- Install Node dependencies:
pnpm install
Install All (Backend + Frontend)
- Run the installer script (with interactive options):
node install.js- Use
--backend-onlyto install only Django dependencies - Use
--frontend-onlyto install only frontend dependencies - Use
--with-venvto create and use a Python virtual environment
- Use
Simple RUN
- Run this:
pnpm run dev
๐ค Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Run tests:
python -m pytest - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
๐ License
This project is licensed under the MIT License. See the LICENSE file for details.
๐ Issues & Support
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Discussions
- Documentation: Wiki
๐ Acknowledgments
- Built on top of the powerful ReactTangoTemplate
- Inspired by tools like Create React App and Django startproject
- Thanks to all contributors and the open-source community
Made with โค๏ธ for the developer community
โญ Star us on GitHub if this project helped you!
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 reactango-1.2.0.tar.gz.
File metadata
- Download URL: reactango-1.2.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d52ba6f412e41bc5bb0fbf5737a95765bccfc35ee19fc9cd34e89e1b8745db91
|
|
| MD5 |
629e7fb45a9499708811a6df4330b99a
|
|
| BLAKE2b-256 |
475de07e5abd5ddfb418291719e235764fe080b86ccdbb86173e1e41b7bf3004
|
File details
Details for the file reactango-1.2.0-py3-none-any.whl.
File metadata
- Download URL: reactango-1.2.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cf03457867c36e8a8773349dfaa1e25db3e6bac14af39db7bca5432574a6e73
|
|
| MD5 |
04efc901b90e0c3289f03cda56a3ec46
|
|
| BLAKE2b-256 |
6cbedec3e05c894e5e5cb72be275becefca02d25aed8497f64190848a646db0f
|