Skip to content

Latest commit

Β 

History

16 Commits

Folders and files

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

Repository files navigation

πŸš€ ResolveX Pro

A multi-tenant SaaS workflow and ticket management platform built with Django, PostgreSQL, and role-based access control (RBAC), inspired by systems like Jira, Zendesk, and enterprise admin platforms.


πŸ“Œ Overview

ResolveX Pro is a production-style workflow and issue management platform designed for organizations to manage support operations, internal workflows, issue tracking, and team collaboration through a centralized ticketing system.

The platform follows a modern SaaS architecture with:

  • 🏒 Multi-tenancy
  • πŸ” Role-Based Access Control (RBAC)
  • 🎫 Workflow-driven ticket lifecycle
  • πŸ“Š Analytics & observability
  • πŸ“œ Audit logging
  • πŸ“© Invitation-based onboarding
  • πŸ”” Real-time notifications
  • ⚑ Modular service-layer backend architecture

🎯 Problem Statement

Organizations often manage operational issues through:

  • emails
  • spreadsheets
  • chat tools
  • disconnected systems

This creates:

  • lack of accountability
  • delayed issue resolution
  • poor visibility
  • inconsistent workflows
  • no operational auditability

ResolveX Pro solves this by providing a structured workflow platform with centralized ticket management and organization-wide operational visibility.


🧠 Core Features

🏒 Multi-Tenant Organization System

  • Multiple organizations on same platform
  • Data isolation per organization
  • Organization-specific users and workflows

πŸ” Authentication & Authorization

  • JWT Authentication
  • Secure login/logout
  • Role-based route protection
  • Organization-scoped access

πŸ‘₯ Role-Based Access Control (RBAC)

Roles

  • ADMIN
  • MANAGER
  • AGENT
  • USER

Permission Examples

  • ticket.create
  • ticket.assign
  • ticket.resolve
  • user.manage
  • invitation.send

🎫 Ticket Workflow Engine

Ticket Lifecycle

OPEN
↓
ASSIGNED
↓
IN_PROGRESS
↓
RESOLVED
↓
CLOSED

Features

  • Create tickets
  • Assign/reassign tickets
  • Status transitions
  • Priority handling
  • Ticket comments
  • Internal notes
  • Attachments
  • Ticket duration tracking

πŸ“© Invitation System

  • Invite users via email
  • Role assignment during onboarding
  • Secure token-based invitation links
  • Expiration & revoke support

πŸ“Š Analytics Dashboard

  • Tickets by status
  • Tickets by priority
  • Agent performance
  • Resolution time tracking
  • Open vs closed ratios

πŸ“œ Audit Logging

Tracks:

  • ticket updates
  • role changes
  • assignments
  • organization actions
  • authentication events

Provides complete operational traceability.


πŸ”” Notifications

  • Ticket assignment notifications
  • Status update alerts
  • Comment notifications
  • In-app notification center

⏱ SLA & Escalation (Planned)

  • Ticket aging
  • SLA deadlines
  • Auto-escalation
  • Priority escalation

πŸ€– AI-Assisted Features (Planned)

  • Smart ticket categorization
  • Priority suggestion
  • Duplicate ticket detection

πŸ—οΈ System Architecture

Frontend (Next.js)
        ↓
REST API / WebSockets
        ↓
Django Backend
 β”œβ”€β”€ API Layer
 β”œβ”€β”€ Service Layer
 β”œβ”€β”€ Workflow Engine
 β”œβ”€β”€ RBAC System
 β”œβ”€β”€ Analytics Engine
 └── Notification System
        ↓
PostgreSQL Database

βš™οΈ Tech Stack

Backend

  • Django
  • Django Ninja
  • PostgreSQL
  • JWT Authentication
  • Celery + Redis (planned)
  • Django Channels (planned)

Frontend

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Framer Motion

πŸ“‚ Backend Structure

backend/
β”œβ”€β”€ manage.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ settings.py
β”‚   β”œβ”€β”€ urls.py
β”‚   β”œβ”€β”€ asgi.py
β”‚   └── wsgi.py
β”‚
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ schemas/
β”‚   β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ celeryworkers/
β”‚   β”œβ”€β”€ websockets/
β”‚   └── tests/

πŸ” Authentication Flow

🏒 Organization Registration

Organization owner creates:

  • organization
  • admin account
  • default roles & permissions

πŸ‘€ User Registration

Users can join organizations using:

  • organization slug
  • invitation link

πŸ“© Invitation Workflow

Admins invite:

  • managers
  • agents
  • users

Users complete onboarding through secure invitation links.


πŸ“Œ Main API Routes

Authentication

POST /api/v1/auth/login/
POST /api/v1/auth/logout/
GET  /api/v1/auth/me/

Organizations

POST /api/v1/setup/create/
GET  /api/v1/organizations/current/

Tickets

POST /api/v1/tickets/
GET  /api/v1/tickets/
GET  /api/v1/tickets/{id}/

POST /api/v1/tickets/{id}/assign/
POST /api/v1/tickets/{id}/start/
POST /api/v1/tickets/{id}/resolve/
POST /api/v1/tickets/{id}/close/

Invitations

POST /api/v1/invitations/
POST /api/v1/invitations/{id}/resend/
POST /api/v1/invitations/{id}/revoke/

Audit Logs

GET /api/v1/audit-logs/

Analytics

GET /api/v1/analytics/overview/

πŸ—„οΈ Database Design

Core Models

  • User
  • Organisation
  • Ticket
  • TicketComment
  • Invitation
  • AuditLog
  • Notification
  • Role
  • Permission

πŸš€ Setup Instructions

Clone Repository

git clone <repository-url>
cd resolvex

Backend Setup

cd backend

python -m venv venv

source venv/bin/activate

pip install -r requirements.txt

Database Migration

python manage.py makemigrations
python manage.py migrate

Run Server

python manage.py runserver

Server:

http://127.0.0.1:8000

Author

Archi Shaw

About

Built a multi-tenant SaaS ticket and workflow management platform with RBAC, JWT authentication, analytics, audit logging, and modular Django architecture inspired by Jira and Zendesk.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages