π‘οΈ Delegated Group Management System A full-stack web application for managing users, groups, roles, and permissions using Django (backend) and React with Vite (frontend).
π§βπ» Tech Stack
π Backend (Django)
Django 5.2.1
Django REST Framework
Channels (WebSockets)
Simple JWT Authentication
MySQL (prod) / SQLite (dev)
CORS Headers
π Frontend (React + Vite) React 18+
Vite
Axios
JWT handling for auth
Tailwind / Material UI (if used)
π Getting Started π§ Backend Setup bash Copy Edit
cd djangoBackend
python -m venv venv source venv/Scripts/activate # or venv/bin/activate on Linux/macOS
pip install -r requirements.txt
python manage.py makemigrations python manage.py migrate
python manage.py runserver
π Frontend Setup bash Copy Edit
cd "frontend delegated-group-management"
npm install
npm run dev Make sure your Vite app connects to the backend via the correct URL in the API service file (e.g., http://localhost:8000).
π§ͺ Features β User Signup/Login with JWT
β Role & Group-based permission management
β Delegated admin functionality
β Real-time notifications using Django Channels
β React frontend with protected routes
β CORS-enabled communication between frontend and backend
π§° Environment Variables (Example) Backend (.env or settings.py):
env Copy Edit DB_NAME=org DB_USER=root DB_PASSWORD=yourpassword DB_HOST=localhost DB_PORT=3306 SECRET_KEY=your_secret_key Frontend (.env):
env Copy Edit VITE_API_BASE_URL=http://localhost:8000 π οΈ To Do Production deployment (Docker / Heroku / Railway)
UI improvements
Redis + Channels for production WebSockets
Testing (Django + React Testing Library)
π§βπΌ Author Ayush Kumar Vyas π GitHub: ayushvyasonwork π§ Email: work.ayushvyas17@gmail.com
π License This project is licensed under the MIT License.