Skip to content

Latest commit

Β 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ 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

Step 1: Navigate to backend

cd djangoBackend

Step 2: Create virtual environment

python -m venv venv source venv/Scripts/activate # or venv/bin/activate on Linux/macOS

Step 3: Install dependencies

pip install -r requirements.txt

Step 4: Set up database

python manage.py makemigrations python manage.py migrate

Step 5: Run server

python manage.py runserver

🌐 Frontend Setup bash Copy Edit

Step 1: Navigate to frontend

cd "frontend delegated-group-management"

Step 2: Install dependencies

npm install

Step 3: Run dev server

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages