A powerful, modern dashboard application built with React, TypeScript, and Node.js for managing accounts and proxies with real-time monitoring and analytics.
- Professional Dark-Themed Dashboard - Modern, responsive UI with Tailwind CSS
- Account Management - Create, manage, and track Facebook accounts
- Proxy Management - Upload, test, and monitor proxy performance
- Real-Time Monitoring - Live system health checks and performance metrics
- Activity Logging - Comprehensive operation logs and error tracking
- tRPC Backend - Type-safe API with full TypeScript support
- Smooth Animations - Page transitions, card hover effects, and loading states
- System Health Dashboard - Real-time performance metrics and status indicators
- Dark/Light Theme Support - Theme customization with next-themes
- Responsive Design - Mobile-friendly interface
- Error Handling - Comprehensive error boundaries and retry mechanisms
- React 19 - Modern UI framework
- TypeScript - Type-safe code
- Vite - Lightning-fast build tool
- Tailwind CSS - Utility-first CSS framework
- Framer Motion - Animation library
- Recharts - Data visualization
- React Hook Form - Form management
- Radix UI - Headless UI components
- TanStack Query - Data fetching and caching
- tRPC Client - Type-safe API client
- Node.js - Runtime environment
- Express - Web framework
- tRPC - Type-safe RPC framework
- Drizzle ORM - Type-safe database ORM
- MySQL - Database
- Vitest - Unit testing
- ESBuild - Fast bundler
- Prettier - Code formatter
- Node.js 18+
- pnpm 10.4.1+
- MySQL database
- Clone the repository
git clone https://github.com/rsalaboshra-eng/dev-kabosec-web.git
cd dev-kabosec-web- Install dependencies
pnpm install- Configure environment variables
# Copy the example env file
cp .env.example .env.local
# For production
cp .env.production.example .env.production
# Edit and add your configuration
nano .env.local- Setup database
# Generate migrations and run them
pnpm run db:push- Start development server
pnpm run devThe application will be available at http://localhost:5173
# Start development server with hot reload
pnpm run dev
# Type check
pnpm run check
# Format code with Prettier
pnpm run format
# Run tests
pnpm run test# Build for production
pnpm run build
# Preview production build
pnpm run preview
# Start production server
pnpm run start
# Push database migrations
pnpm run db:pushdev-kabosec-web/
├── client/ # Frontend React application
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Page components
│ │ ├── hooks/ # Custom React hooks
│ │ └── App.tsx # Main app component
│ └── index.html # HTML entry point
├── server/ # Backend Node.js/Express server
│ ├── _core/
│ │ ├── index.ts # Server entry point
│ │ ├── router.ts # tRPC routes
│ │ └── db.ts # Database setup
│ └── procedures/ # tRPC procedures
├── shared/ # Shared types and utilities
│ └── schema.ts # Shared type definitions
├── drizzle/ # Database migrations
├── package.json # Project dependencies
├── vite.config.ts # Vite configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This file
# App
VITE_APP_ENV=production
NODE_ENV=production
# Database
DATABASE_URL=mysql://user:password@localhost:3306/kabosec
# Server
SERVER_PORT=3000
SERVER_HOST=0.0.0.0
# JWT
JWT_SECRET=your-secret-key# AWS S3
AWS_S3_BUCKET=your-bucket
AWS_ACCESS_KEY_ID=your-key
# OpenAI
OPENAI_API_KEY=your-api-key
# Mail.tm
MAIL_TM_API_KEY=your-api-key
# Facebook
FACEBOOK_APP_ID=your-app-id
FACEBOOK_APP_SECRET=your-secretSee .env.production for complete configuration reference.
- Build Docker image
docker build -t dev-kabosec-web:latest .- Run container
docker run -p 3000:3000 \
-e DATABASE_URL=mysql://... \
-e JWT_SECRET=your-secret \
dev-kabosec-web:latestThe project includes automated CI/CD pipeline with:
- Dependency installation
- Type checking
- Testing
- Building
- Docker image creation
- Deployment to production
Secrets needed in GitHub:
DEPLOY_KEY- SSH private keyDEPLOY_HOST- Server hostnameDEPLOY_USER- SSH usernameDEPLOY_PATH- Deployment directory
All endpoints are type-safe through tRPC.
account.create- Create new accountaccount.list- List all accountsaccount.getById- Get account detailsaccount.delete- Delete account
proxy.upload- Upload proxy listproxy.test- Test proxy connectivityproxy.list- List all proxiesproxy.getStats- Get proxy statistics
health.check- System health checkmetrics.get- Performance metricslogs.list- Operation logs
# Run all tests
pnpm run test
# Run tests in watch mode
pnpm run test:watch
# Run tests with coverage
pnpm run test:coverageRefer to todo.md for list of planned features and known issues.
- Export to CSV functionality
- Import from file
- Advanced search and filtering
- Bulk operations
- Settings panel
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Rabih Salaboshra - @rsalaboshra-eng
For support, email salaboshra@example.com or open an issue on GitHub.
Last Updated: February 25, 2026 Version: 1.0.0