Skip to content

About

DomainDesk – White-Label Domain Management & Billing

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DomainDesk

White-Label Domain Reseller & Client Billing Platform

A comprehensive SaaS platform built with Laravel 12 and Livewire 4, enabling partners to sell domains under their own brand while providing clients with an intuitive domain management experience.

Laravel Livewire PHP License Tests


📸 Platform Preview

Landing Page - White-Label Partner System

Landing Page

Professional landing page showcasing the white-label partner system. Features include role-based demo credentials, multi-tenant architecture overview, and key platform capabilities.


Role-Based Access

🔐 Super Admin Role

The Super Admin has complete system control and manages all partners.

Login Page Login Page

Secure login interface with partner-specific branding support. Automatically redirects users to their role-appropriate dashboard.

Admin Dashboard Admin Dashboard

Comprehensive dashboard with system-wide metrics including total partners, clients, domains, and revenue tracking. Real-time monitoring of platform health and activity.

Partner Management Partner Management

Complete partner management interface with filtering, sorting, and detailed views. Manage partner status, wallet balances, and view business metrics at a glance.

Partner Details Partner Details

Detailed view of individual partner accounts showing client counts, domain statistics, wallet balance, and revenue metrics. Admins can adjust wallets, suspend partners, or impersonate to troubleshoot issues.

Add New Partner Add New Partner

Simple and intuitive interface for creating new partner accounts. Set initial wallet balance, configure status, and optionally send welcome emails with login credentials.

Registrar Management Registrar Management

Configure and manage domain registrars including ResellerClub and BTCL. Test connections, monitor health, and assign TLDs to specific registrars.

TLD Management TLD Management

Manage Top-Level Domains with pricing configuration, feature support, and registrar assignment. Enable/disable TLDs and set base pricing for partners.

Admin Capabilities:

  • Create and manage partner accounts
  • Configure system-wide settings
  • Manage registrar integrations (ResellerClub, BTCL)
  • Set TLD pricing and availability
  • Monitor system health and audit logs
  • Adjust partner wallet balances
  • View comprehensive analytics

👥 Partner Role

Partners operate as resellers with white-label capabilities.

Partner Dashboard Partner Dashboard

Business metrics dashboard showing revenue, client count, domain statistics, and wallet balance. Track performance and manage your reseller business effectively.

Client Management Client Management

Partners can efficiently manage their client base with search, filtering, and bulk export capabilities. View client status, domain counts, and perform actions like suspend or view details.

Branding Configuration ![Branding Configuration - Coming Soon]

Customize your brand identity with custom logos, color schemes, and email templates. Create a unique experience for your clients.

Pricing Rules Management ![Pricing Rules - Coming Soon]

Set custom pricing with fixed or percentage-based markup for each TLD. Control your profit margins and competitive positioning.

Partner Capabilities:

  • Create and manage client accounts
  • Customize white-label branding (logo, colors, domain)
  • Set partner-specific pricing rules and markups
  • View wallet balance and transaction history
  • Manage domain registrations for clients
  • Access business analytics and reports
  • Configure custom email templates

👤 Client Role

Clients are end-users who purchase and manage domains through partners.

Client Dashboard Client Dashboard

User-friendly dashboard displaying active domains, upcoming renewals, recent invoices, and quick access to domain management tools. View key metrics at a glance with an intuitive interface.

Domain Search Domain Search

Advanced domain search with bulk lookup capabilities and instant availability checking. Search for multiple domains simultaneously and select registration period.

Domain Management Domain Management

Comprehensive domain portfolio management interface showing all domains with status, expiry dates, and auto-renewal settings. Sort, filter, and manage renewals efficiently.

Domain Details & DNS Management Domain Details

Detailed domain view with tabs for overview, nameservers, DNS records, contacts, and documents. Complete control over domain configuration with one-click synchronization.

Invoice History Invoice History

Track all invoices with advanced filtering by status and date range. View payment history and download invoices for your records.

Client Capabilities:

  • Search and register domains
  • Manage domain renewals and transfers
  • Configure DNS records and nameservers
  • View and pay invoices
  • Access support tickets
  • Manage account settings
  • View transaction history

Login Page

Login Page

Clean and intuitive login interface with white-label partner branding support. Automatic role detection and routing to appropriate dashboard.


Demo Credentials

For testing purposes, the following demo accounts are created by the seeder:

Super Admin Access

Email:    [email protected]
Password: password
Role:     Super Admin

Full System Access:

  • Partner management and creation
  • System-wide configuration
  • Registrar management (ResellerClub, BTCL)
  • TLD pricing configuration
  • System health monitoring
  • Audit log access

Partner Access

Email:    [email protected]
Password: password
Role:     Partner (Reseller)

Partner Management Access:

  • Client account management
  • White-label branding configuration
  • Custom pricing rules
  • Wallet balance and transactions
  • Domain management for clients
  • Business analytics

Client Access

Email:    [email protected]
Password: password
Role:     Client (End User)

Client Portal Access:

  • Domain search and registration
  • DNS and nameserver management
  • Domain renewals and transfers
  • Invoice viewing and payment
  • Support ticket system

Note: Partners can create additional client accounts. Each partner operates in complete isolation with their own branding and client base.

Key Features Showcased

Admin Dashboard

  • System-wide metrics (partners, clients, domains, revenue)
  • Partner management with wallet adjustments
  • Registrar and TLD pricing configuration
  • System health monitoring and audit logs

Partner Portal

  • Business metrics dashboard with revenue tracking
  • Client management (create, suspend, activate)
  • White-label branding configuration (logo, colors, custom domains)
  • Pricing rules management with markup control
  • Wallet balance and transaction history

Client Portal

  • Domain search with bulk lookup capabilities
  • Domain registration with multi-step wizard
  • Domain management (renewals, transfers, DNS)
  • Nameserver and DNS record configuration
  • Invoice history and payment tracking

📚 Documentation

User Documentation

Developer Documentation

Deployment & Operations

Reference Documentation


🚀 Features

Core Capabilities

  • ✅ Multi-Tenant Architecture - Complete data isolation by partner
  • ✅ White-Label Branding - Custom domains, logos, colors, emails, invoices (no Laravel branding)
  • ✅ BDT Currency Support - Native Bangladeshi Taka (৳) support throughout the system
  • ✅ Domain Lifecycle Management - Register, renew, transfer, and manage domains
  • ✅ Wallet-Based Billing - Append-only ledger for financial integrity
  • ✅ Partner Pricing Rules - Custom markup (fixed/percentage) per TLD
  • ✅ Automated Renewals - Scheduled auto-renewals with wallet checks
  • ✅ Full Audit Trail - Complete compliance logging
  • ✅ Registrar-Agnostic - Abstraction layer for multiple registrars (ResellerClub integrated)
  • ✅ TLD Management - Admin can enable/disable TLDs and assign registrar providers

User Roles

  • Super Admin - Full system access, registrar control, partner management
  • Partner (Reseller) - White-label branding, client management, pricing rules
  • Client (End User) - Domain management, invoice viewing, support access

🏗️ Tech Stack

  • Backend: Laravel 12
  • Frontend: Livewire 4 + Alpine.js
  • Database: SQLite (dev) / PostgreSQL (prod)
  • Queue: Redis
  • Cache: Redis
  • Email: SendGrid / AWS SES / SMTP
  • Assets: Vite

📦 Installation

Quick Start (Development)

# Clone repository
git clone https://github.com/md-riaz/DomainDesk.git
cd DomainDesk

# Run automated setup
composer setup

# Start development server with all services
composer dev

The composer dev command starts:

Production Installation

# Install dependencies (production only)
composer install --no-dev --optimize-autoloader
npm ci
npm run build

# Configure environment
cp .env.production.example .env
php artisan key:generate

# Run migrations
php artisan migrate --force

# Optimize for production
php artisan optimize

For complete installation instructions, see Installation Guide.

Docker Installation

# Development
docker-compose up -d

# Production
docker-compose -f docker-compose.prod.yml up -d

See Docker Guide for detailed instructions.


🎬 Getting Started

First Time Setup

After installation, follow these steps to explore the platform:

  1. Access the Application

    php artisan serve
    # Visit http://localhost:8000
  2. Login as Super Admin

    • Email: [email protected]
    • Password: password
    • You'll be redirected to the Admin Dashboard
  3. Create a Partner Account

    • Navigate to Admin → Partners → Add Partner
    • Configure wallet balance and branding
    • Partner admin user will be created automatically
  4. Setup Partner Branding (Optional)

    • Login as the partner admin
    • Go to Settings → Branding
    • Upload logo, set colors, configure custom domain
    • Setup pricing rules for domain TLDs
  5. Create Client Accounts

    • As a partner, go to Clients → Add Client
    • Client can then login and register domains
    • Or clients can self-register via the registration page
  6. Test Domain Operations

    • Search for domains using the domain search
    • Register a domain (uses mock registrar in development)
    • Configure DNS records and nameservers
    • Test renewal and transfer workflows

Exploring Different Portals

Admin Portal (/admin/*)

  • System dashboard with metrics
  • Partner lifecycle management
  • Registrar and TLD configuration
  • System settings and maintenance

Partner Portal (/partner/*)

  • Business metrics dashboard
  • Client and domain management
  • Branding customization
  • Pricing configuration
  • Wallet management

Client Portal (/client/*)

  • Domain search and registration
  • Domain management dashboard
  • DNS and nameserver configuration
  • Invoice history

🎯 Project Status

Current Status: 85% Complete - Production Ready

Phase Status Duration Completion
Phase 0: Foundation ✅ Complete 1 day 100%
Phase 1: Database Schema & Models ✅ Complete 1 week 100%
Phase 2: Auth & Multi-Tenancy ✅ Complete 4-5 days 100%
Phase 3: Registrar Integration ✅ Complete 1 week 100%
Phase 4: Domain Operations ✅ Complete 1.5 weeks 100%
Phase 5: Client Portal UI ✅ Complete 1.5 weeks 100%
Phase 7: Partner Management Portal ✅ Complete 1 week 100%
Phase 8: Admin Panel ✅ Complete 1 week 100%
Phase 9: Automation & Jobs ✅ Complete 4-5 days 100%
Phase 10: Email System ✅ Complete 3-4 days 100%
Phase 13: Documentation & Deployment ✅ Complete 3-4 days 100%
Total Production Ready ~9 weeks 85%

Key Accomplishments

  • ✅ 900+ tests passing (100% success rate)
  • ✅ 21 database tables with complete relationships
  • ✅ 70+ Livewire components across all portals
  • ✅ Complete domain lifecycle management
  • ✅ Multi-tenant isolation with hard data separation
  • ✅ White-label branding system
  • ✅ Automated renewals and notifications
  • ✅ Docker and CI/CD ready
  • ✅ Comprehensive documentation (50,000+ lines)

See IMPLEMENTATION_PLAN.md for complete breakdown.


🔑 Key Architecture Decisions

Multi-Tenancy

  • Every request resolves partner context from domain
  • Global scopes enforce data isolation
  • Hard foreign key constraints on all tables
  • Cross-partner access impossible by design
  • See Architecture Guide for details

Financial Integrity

  • Append-only wallet transaction ledger
  • Immutable invoices after issuance
  • Deterministic pricing (no floating point errors)
  • Full audit trail for all financial operations
  • Atomic database transactions for wallet operations

White-Label First

  • Partner branding loaded on every request
  • Custom domain resolution with DNS verification
  • Branded emails and invoices
  • Partner-specific support contacts
  • Complete UI customization per partner

Scalability

  • Stateless application design
  • Redis caching for performance
  • Queue-based async operations
  • Database read replicas support
  • Horizontal scaling ready

🧪 Testing

# Run all tests
php artisan test

# Run specific test suite
php artisan test --testsuite=Feature

# Run with coverage
php artisan test --coverage --min=80

# Run parallel tests
php artisan test --parallel

Current Status: 72 test files | Target: 80%+ code coverage

Tests run automatically on every push via GitHub Actions.


📖 Development Guide

Quick Commands

# Start development server with queue, logs, and vite
composer dev

# Create Livewire component
php artisan make:livewire ComponentName

# Create migration
php artisan make:migration create_table_name

# Run linter
./vendor/bin/pint

# Clear all caches
php artisan optimize:clear

Next Steps

  1. Read IMPLEMENTATION_PLAN.md
  2. Start with Phase 1, PR 1.1 (Users & Roles)
  3. Follow the phase-by-phase breakdown
  4. Write tests for each feature
  5. Review code before merging

🤝 Contributing

We welcome contributions! Please read our Contributing Guide for details on:

  • Code of Conduct
  • Development setup
  • Coding standards (PSR-12)
  • Testing requirements
  • Pull request process
  • Code review guidelines

Quick Contribution Steps

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Write tests for your changes
  4. Run code formatter (./vendor/bin/pint)
  5. Ensure tests pass (php artisan test)
  6. Commit your changes (git commit -m 'feat: add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

🔐 Security

Security Features

  • ✅ Multi-tenant data isolation (database + application level)
  • ✅ CSRF protection on all forms
  • ✅ XSS prevention with Blade escaping
  • ✅ SQL injection prevention via Eloquent ORM
  • ✅ Rate limiting on authentication endpoints
  • ✅ Full audit logging for compliance
  • ✅ Encrypted sensitive data (API keys, passwords)
  • ✅ Two-factor authentication (2FA) support
  • ✅ OWASP Top 10 protection

Reporting Vulnerabilities

Please report security vulnerabilities privately via:

See our Security Policy for more details.


📄 License

This project is open-sourced software licensed under the MIT license.


🙏 Acknowledgments

Built with:

About

DomainDesk – White-Label Domain Management & Billing

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages