Enterprise hosting control panel with billing automation, reseller management, and advanced security
A modern, full-featured hosting control panel designed for:
- Super Admins: Platform management, server provisioning, billing configuration
- Resellers: White-label hosting management, customer billing, support tickets
- Customers: Website management, file manager, database tools, email accounts
- Technical Users: SSH/SFTP access, PHP configuration, cron jobs, Git integration
- Multi-tenant Architecture: Support for resellers with white-label branding
- Automated Billing: Stripe integration, invoice generation, auto-renewals
- Website Hosting: NGINX-based hosting with PHP-FPM, MySQL, SSL
- Developer Tools: SSH, SFTP, Git integration, PHP version management
- Security: JWT authentication, 2FA, role-based access control
- Monitoring: Prometheus metrics, Grafana dashboards, audit logging
| Document | Description | Status |
|---|---|---|
| π PRD | Product Requirements Document | β Complete |
| π Implementation Guide | Technical implementation details | β Complete |
| π User Stories | 40 detailed user stories | β Complete |
| Document | Description | Status |
|---|---|---|
| π Product Backlog Review | Comprehensive backlog analysis | β Complete |
| π Product Backlog CSV | 47 stories ready for import | β Complete |
| π Sprint Planning Guide | 6-sprint team plan (14 weeks) | β Complete |
| πΊοΈ MVP Roadmap | 3-month visual timeline | β Complete |
| Document | Description | Status |
|---|---|---|
| π€ Solo Developer Setup | Infrastructure & cost analysis | β Complete |
| π Solo Sprint Plan | 18-sprint plan (9 months) | β Complete |
| π οΈ Homelab Setup | Docker Compose development env | β Complete |
| Document | Description | Status |
|---|---|---|
| ποΈ Infrastructure Overview | Production deployment overview | β Complete |
| π Production Guide | Complete deployment to AX 43 | β Complete |
| βοΈ systemd Services | Service management with systemd | β Complete |
| π€ Ansible Playbooks | Automated deployment | β Complete |
- Next.js 16 - App Router, Server Components (RSC)
- React 19 - Latest features and optimizations
- TypeScript 5.x - Type safety
- Tailwind CSS 4.x - Utility-first styling
- Zustand - State management
- React Query - Data fetching and caching
- React Hook Form + Zod - Form validation
- Lucide React - Icon library
- RUST - API Gateway (Actix-web / Axum)
- Go - Microservices (Fiber framework)
- User Management Service
- Billing Service
- Provisioning Service
- Email Service
- Support Ticket Service
- PostgreSQL 16+ - Primary database
- Redis 7.2+ - Session storage & caching
- Hetzner Object Storage - Backups
- Hetzner AX 43 - Production server (8-core, 64GB RAM, 2x512GB NVMe)
- NGINX 1.26 - Reverse proxy & web server
- systemd - Service management (production)
- Docker Compose - Development environment only (homelab)
- Ansible - Automated deployment
- GitHub Actions - CI/CD pipeline
- Prometheus - Metrics collection
- Grafana - Monitoring dashboards
- n8n - Workflow automation
- NATS - Message broker
- Docker 20.x or later
- Docker Compose 2.x or later
- Node.js 20.x or later (for Next.js development)
- RUST 1.70+ (for API gateway development)
- Go 1.21+ (for microservices development)
- PostgreSQL 16+ (via Docker or homelab)
-
Clone the repository:
git clone https://github.com/xerudro/next-js-panel.git cd next-js-panel -
Set up homelab environment:
cd homelab make initThis will:
- Create
.envfrom template - Start all services (PostgreSQL, Redis, n8n, Prometheus, Grafana)
- Run health checks
- Create
-
Access services:
- n8n: http://localhost:5678 (admin/admin)
- Grafana: http://localhost:3001 (admin/admin)
- Prometheus: http://localhost:9090
- Adminer: http://localhost:8081
- Redis Commander: http://localhost:8082
-
Verify setup:
make health make test
For detailed setup instructions, see Homelab Setup Guide.
Weekly Theme Approach (reduces context switching):
Backend Week (Week 1 of sprint):
- Morning: RUST/Go development
- Afternoon: Testing & integration
Frontend Week (Week 2 of sprint):
- Morning: Next.js development
- Afternoon: UI/UX & integration
See SOLO-SPRINT-PLAN.md for detailed workflow.
Setting up development environment and project structure.
| Sprint | Status | Dates | Points | Key Deliverables |
|---|---|---|---|---|
| Pre-Sprint | π‘ In Progress | Now | - | Homelab setup, project scaffolding |
| Sprint 0 | π΄ Not Started | Weeks 1-2 | 21 | CI/CD, Database schema |
| Sprint 1 | π΄ Not Started | Weeks 3-4 | 13 | Authentication system |
| Sprint 2 | π΄ Not Started | Weeks 5-6 | 13 | API Gateway, Monitoring |
Next Milestone: Complete homelab setup β Begin Sprint 0
- Estimated MVP Launch: 9 months (36 weeks)
- Expected Velocity: 10-15 points/sprint (with AI assistance)
- Total Story Points: 152 points for MVP
See SOLO-SPRINT-PLAN.md for full timeline.
Development Phase: β¬14-27/month
- 2 VPS servers: β¬16-32/month
- Homelab electricity: β¬5-10/month
- GitHub Pro + Copilot: β¬0 (already subscribed)
Production Phase: β¬60-82/month
- Hetzner AX 43: β¬49-59/month (already have)
- 2 VPS servers: β¬16-32/month
- Hetzner Object Storage: β¬8/month (500GB)
- Homelab: β¬5-10/month
Break-even Point: 8-10 customers @ β¬10/month
See SOLO-DEVELOPER-SETUP.md for detailed analysis.
Technical Infrastructure:
- β CI/CD pipeline
- β Database schema & migrations
- β API Gateway with rate limiting
- β JWT authentication with 2FA
- β Monitoring & observability
Admin Features:
- β Super Admin dashboard
- β User management
- β Package management
- β Billing configuration
Reseller Features:
- β Reseller dashboard
- β Customer management
- β Invoice management
Customer Features:
- β Customer dashboard
- β Website management
- β Backup & restore
- β Billing & invoices
Developer Tools:
- β SSH access
- β SFTP access
- β PHP configuration
- β Cron jobs
Deferred to months 10-12:
- File manager
- Email account management
- SSL certificate management
- Domain management
- White-label branding
- Custom pricing
- Support ticket system
This is currently a solo developer project, but contributions are welcome!
- Consistency: Code daily, even if only 2-4 hours
- Focus: Stick to weekly themes (Backend vs Frontend)
- AI Assistance: Use GitHub Copilot and Claude Code extensively
- Scope Discipline: Don't add features outside the plan
- Testing: Write tests as you code (don't defer)
- Documentation: Document as you build
- GitHub Copilot: Boilerplate generation, unit tests, type definitions
- Claude Code: Architecture decisions, debugging, code review
- Expected Productivity Boost: 30-40% faster development
next-js-panel/
βββ homelab/ # Docker Compose development environment
β βββ docker-compose.yml # 7 services (PostgreSQL, Redis, n8n, etc.)
β βββ Makefile # 20+ helpful commands
β βββ quick-start.sh # Interactive setup script
β βββ README.md # Homelab documentation
βββ docs/ # Product documentation
β βββ PRD.md # Product Requirements Document
β βββ Implementation-Guide.md # Technical implementation details
β βββ User-Stories.md # User stories
βββ planning/ # Project planning documents
β βββ Product-Backlog-Review.md
β βββ Product-Backlog.csv
β βββ Sprint-Planning-Guide.md
β βββ MVP-Roadmap.md
β βββ Solo-Developer-Setup.md
β βββ Solo-Sprint-Plan.md
βββ api-gateway/ # RUST API Gateway (TBD)
βββ services/ # Go Microservices (TBD)
β βββ user-service/
β βββ billing-service/
β βββ provisioning-service/
β βββ email-service/
βββ frontend/ # Next.js 16 Frontend (TBD)
βββ README.md # This file
This project is proprietary. All rights reserved.
For questions or feedback:
- GitHub Issues: https://github.com/xerudro/next-js-panel/issues
- Email: [Your email here]
Built with:
- β Coffee
- π΅ Music
- π€ AI assistance (GitHub Copilot, Claude Code)
- πͺ Determination
Last Updated: 2025-11-11 Status: Pre-Sprint 0 - Setting up development environment Next Step: Initialize project structure and begin Sprint 0