A comprehensive Next.js starter kit featuring 32 themes, PWA capabilities, component gallery, and extensive monitoring tools.
GitHub Repository: https://github.com/TortoiseWolfe/CRUDkit
Fork this template: Click here to fork
- Main App: https://tortoisewolfe.github.io/CRUDkit/
- Storybook: https://tortoisewolfe.github.io/CRUDkit/storybook/
- Status Dashboard: https://tortoisewolfe.github.io/CRUDkit/status
- 32 DaisyUI themes (16 light + 16 dark)
- Persistent theme selection
- Smooth theme transitions
- Accessibility controls (font size, spacing)
- Installable on desktop and mobile
- Offline support with Service Worker
- Background sync for forms
- App shortcuts
- 92/100 PWA Lighthouse score
- Atomic design pattern
- Sub-atomic components (Text, Button, Input)
- Atomic components (Card, Dice, DiceTray, DraggableDice)
- Interactive gaming components:
- Captain Ship & Crew dice game with full rule implementation
- NPC opponents with difficulty levels (Easy/Medium/Hard)
- Drag-and-drop dice locking mechanics
- Player name persistence with localStorage
- Fully documented in Storybook
- Real-time Web Vitals tracking
- Dynamic Lighthouse testing via PageSpeed API
- PWA feature testing with comprehensive suite
- Docker health monitoring via main page check
- TASKS.md progress tracking (auto-updated)
- GitHub Actions CI/CD with automated testing
- Interactive status dashboard at
/status
- Vitest unit testing framework
- React Testing Library for component tests
- 73 passing tests across 6 test suites
- Coverage reporting with thresholds
- Prettier code formatting with Tailwind CSS plugin
- Husky pre-commit hooks with lint-staged
- Automated CI/CD pipeline on GitHub Actions
- Performance: 92/100
- Accessibility: 98/100
- Best Practices: 95/100
- SEO: 100/100
- PWA: 92/100
- Framework: Next.js 15.5.2
- UI: React 19.1.0
- Styling: Tailwind CSS + DaisyUI
- TypeScript: 5.x with strict mode
- Testing: Vitest, React Testing Library, @vitest/coverage-v8
- Code Quality: Prettier 3.6.2 with Tailwind plugin
- CI/CD: GitHub Actions, Husky pre-commit hooks
- Deployment: GitHub Pages
- Documentation: Storybook 9.1.5
- Node.js 18+
- pnpm (recommended) or npm
# Clone the repository
git clone https://github.com/TortoiseWolfe/CRUDkit.git
cd CRUDkit
# Install dependencies
pnpm install
# Run development server
pnpm dev
Open http://localhost:3000 to see the app.
# Build and run with Docker Compose
docker-compose up
# App runs on http://localhost:3000
# Storybook runs on http://localhost:6006
See TESTING.md for comprehensive testing guidelines, including:
- Component testing patterns
- Coverage requirements
- CI/CD integration
- Pre-commit hooks setup
/
- Home with interactive Captain Ship & Crew game demo/themes
- Theme switcher/components
- Component gallery/accessibility
- Accessibility controls/status
- System status dashboard
# Development
pnpm dev # Start Next.js dev server
pnpm storybook # Start Storybook
# Building
pnpm build # Build for production
pnpm export # Export static site
# Testing
pnpm test # Run unit tests
pnpm test:watch # Run tests in watch mode
pnpm test:coverage # Generate coverage report
pnpm lint # Run ESLint
pnpm type-check # Run TypeScript checks
pnpm format # Format all files with Prettier
pnpm format:check # Check formatting without changes
# Deployment
pnpm deploy # Deploy to GitHub Pages
See docs/IMPROVEMENTS.md for detailed optimization opportunities.
- Add maskable PWA icons (192x192, 512x512)
- Add Apple touch icon for iOS
- Improve button accessibility labels
- Add form input labels
- Implement SRI for external resources
- Fork the repository on GitHub
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
See docs/IMPROVEMENTS.md for specific areas where contributions are welcome.
Overall Progress: 79% Complete (127/161 tasks)
Sprint 1: β Complete (95/96 tasks - 99%)
- β Phase 0: Next.js app deployed to GitHub Pages
- β Phase 1: Storybook integrated with Text component
- β Phase 2: 32-theme system with accessibility controls
- β Phase 3: Component gallery with atomic design
- β Phase 4: PWA features with comprehensive testing
Sprint 2: π§ In Progress (32/65 tasks - 49%)
- β Phase 1: Testing Foundation (Vitest, Husky, CI/CD)
- β Phase 2: Developer Experience (Prettier, Dependabot, Error handling)
- β Phase 3: First Simple Feature (Dice component - Complete!)
- β³ Phase 4: Quality Baseline (Zod validation, security)
- β³ Phase 5: Foundation Completion (health checks, Pa11y)
View detailed progress in docs/spec-kit/TASKS.md
MIT
- Built with Next.js
- Styled with DaisyUI
- Deployed on GitHub Pages
Note for Forkers:
- TASKS.md automatically updates during build (
pnpm build
) - Update your own tasks in
docs/spec-kit/TASKS.md
- Status page dynamically tracks your project progress
- Check docs/IMPROVEMENTS.md for optimization opportunities