Reacterial is a multi-purpose development platform designed for four core use cases:
- π€ AI-Native Admin Starter - Batteries-included admin dashboard with AI integration patterns
- π Modern Monorepo Learning Platform - Reference implementation for pnpm workspaces, Turborepo, and Next.js 15
- β‘ Internal Tools Accelerator - Clone, configure, and ship internal dashboards in days
- π¨ Component Design System - Living Storybook for
@reacterial/uiβ explore and develop components without running the full app
Built with Next.js, React, Material-UI (MUI), Redux, and a scalable monorepo architecture.
- Next.js
- React
- MUI
- Vercel
- TypeScript
- Redux
- Auth (NextAuth and Google API Oauth)
- Jest: Unit Test
- MongoDB Atlas
- pnpm Workspaces - Monorepo management
- Turborepo - Smart caching & build orchestration
Status: π Planned
Vision: Complete admin starter with AI integration patterns (LLM-powered insights, natural language queries, automated summaries)
Current State:
- β Admin dashboard foundation
- β Data visualization (charts, grids)
- β Authentication & authorization
- π AI integration examples (planned)
- π LLM provider abstraction layer (planned)
Status: β
Implemented
Vision: Production-ready reference for teams learning modern monorepo patterns
Current State:
- β pnpm workspaces setup
- β Turborepo integration
- β
Shared packages (
@reacterial/ui,@reacterial/auth,@reacterial/theme) - β Comprehensive documentation
- π Interactive tutorials (planned)
- π Video walkthroughs (planned)
Status: π§ In Progress
Vision: Clone this repo, wire your data models, and have a working internal tool in a weekend
Current State:
- β Monorepo structure
- β Shared UI components
- β Database models & scripts
- β Authentication system
- π§ CRUD scaffolding generator (in progress)
- π One-command setup script (planned)
Status: π Planned
Vision: A living Storybook for @reacterial/ui β browse, develop, and test components without spinning up the full app (no MongoDB, no auth required)
Current State:
- β
Shared UI library (
@reacterial/ui) with 9 components - β Components decoupled from app-specific concerns (Redux, NextAuth)
- π Storybook setup in
packages/ui/(planned) - π Stories for all components with autodocs (planned)
- π Light/dark mode toggle in Storybook toolbar (planned)
See Storybook & Design System Plan for the full implementation plan.
See Roadmap for detailed development phases and timeline.
pnpm installCreate apps/admin/.env.local file with your credentials:
# Copy the example file
cp apps/admin/.env.local.example apps/admin/.env.local
# Edit with your MongoDB URI and secrets
nano apps/admin/.env.localRequired variables:
MONGODB_URI- Your MongoDB connection stringNEXTAUTH_SECRET- Generate with:openssl rand -base64 32NEXTAUTH_URL- http://localhost:3000 (for local dev)
See Environment Setup Guide for detailed instructions.
pnpm devOpen http://localhost:3000 with your browser to see the result.
- Email:
admin@reacterial.com - Password:
admin123
1. cd db
2. pnpm install
3. pnpm run resetIf you prefer npm, you can still use it:
1. npm install
2. npm run devThis project leverages Turborepo for lightning-fast builds:
- β Smart Caching - Never rebuild the same code twice (141x faster on cache hits!)
- β Parallel Execution - Run tasks across packages simultaneously
- β Dependency-Aware - Automatically builds packages in the correct order
- β Remote Caching - Share build cache with your team (optional)
Example Performance:
First build: 17.3s
Cached build: 123ms β‘ >>> FULL TURBOComprehensive documentation is available in the docs/ directory:
- πΊοΈ Roadmap - Planned features and development phases across all three goals
- π Monorepo Implementation - Complete migration guide and new structure
- π§ Environment Setup - Configure MongoDB and environment variables
- β Decision Matrix - Choose the right architecture for your needs
- Monorepo Architecture - Build multiple apps with shared components
- Component Organization Guide - UI component structure and best practices
- TypeScript Strict Config - Strict type checking setup
- β‘ Turborepo Setup - Smart caching & performance optimization
- π Git Hooks - Code quality enforcement with ContextKit hooks
- π Vercel Deployment - Deploy to Vercel (production guide)
- PNPM Migration Summary - NPM to PNPM conversion details
- Documentation Index - Full documentation overview
# Run unit tests in watch mode
pnpm test
# Run unit tests in CI mode
pnpm test:ciRequires MongoDB running with seed data and .env.local configured.
# Seed the database first (once)
pnpm --filter reacterial-db-init seed
# Run Playwright smoke tests (auto-starts dev server if needed)
pnpm --filter @reacterial/admin e2eCovers: landing page, login flow, dashboard, profile page, and auth guard redirect. See apps/admin/e2e/README.md for full setup.
# Format, lint, and build for production
pnpm build
# Start production server
pnpm start