A modern, full-stack admin panel and management system built with React, TypeScript, and Node.js. This monorepo contains a complete admin dashboard solution with advanced analytics, user management, and real-time features.
- Modern UI/UX: Built with Radix UI, Tailwind CSS, and modern React patterns
- Type Safety: Full TypeScript support across the entire stack
- Real-time Updates: WebSocket integration for live data updates
- Advanced Analytics: Comprehensive dashboard with charts and metrics
- User Management: Complete user authentication and authorization system
- Database Integration: Prisma ORM with PostgreSQL support
- API Documentation: Auto-generated Swagger documentation
- Internationalization: Multi-language support with i18next
- Form Validation: Robust form handling with React Hook Form and Zod
This is a monorepo built with Turborepo containing:
@controlhub/web: React frontend application@controlhub/api: Node.js/Express backend API
@controlhub/eden: Type-safe API client@controlhub/db: Database schema and client@controlhub/tsconfig: Shared TypeScript configuration
- React 19
- TypeScript
- Tailwind CSS
- Radix UI
- TanStack Query
- TanStack Router
- React Hook Form
- Zod validation
- Node.js
- Elysia.js
- Prisma ORM
- PostgreSQL
- Redis
- JWT Authentication
- Turborepo
- Bun package manager
- Biome for linting/formatting
- Husky for git hooks
-
Clone the repository
git clone <your-repo-url> cd controlhub
-
Install dependencies
bun install
-
Set up environment variables
cp config/apps/web/.env.example config/apps/web/.env cp config/apps/api/.env.example config/apps/api/.env
-
Start the database
bun run db:start
-
Run database migrations
bun run db:migrate
bun run dev# Frontend only
bun run dev:web
# Backend only
bun run dev:apibun run buildcontrolhub/
├── apps/
│ ├── web/ # React frontend
│ └── api/ # Node.js backend
├── packages/
│ ├── eden/ # Type-safe API client
│ ├── database/ # Database schema & client
│ └── tooling-config/ # Shared configs
├── config/ # Environment configurations
└── patches/ # Package patches
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
This project is licensed under the MIT License.