A superior, opinionated dashboard template built with modern technologies and best practices. This template serves as a robust starting point for building production-ready applications with multiple authentication and backend integration options.
-
Modern Stack
- Remix.js - Modern React framework with server-side rendering
- TypeScript - Type safety and better developer experience
- shadcn/ui - High-quality, accessible components
- Tailwind CSS - Utility-first CSS framework
- Zustand - State management
- React Query - Data fetching and caching
-
Authentication Options
- JWT-based authentication (default)
- OAuth providers (coming soon)
- Firebase Authentication (coming soon)
- Supabase Authentication (coming soon)
- Magic Links (coming soon)
-
Backend Integration Options
- REST API (default)
- Firebase (coming soon)
- Supabase (coming soon)
- Prisma + PostgreSQL (coming soon)
-
Developer Experience
- 🧪 Comprehensive test coverage (>80%)
- 📝 Detailed documentation
- 🎯 Type safety
- 🔍 ESLint + Prettier
- 🚀 Optimized production builds
-
Clone the repository:
git clone https://github.com/yourusername/template-dashboard-remix-shadcn.git cd template-dashboard-remix-shadcn
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:3000 to view the app
We maintain high test coverage using Vitest and Testing Library:
# Run unit tests
npm run test:unit
# Run unit tests with coverage
npm run test:unit -- --coverage
# Run e2e tests
npm run test:e2e
# Run all tests
npm test
View test coverage report in the terminal or in coverage/index.html
.
Detailed documentation is available in the /docs
directory:
~/
├── app/
│ ├── components/ # React components
│ │ ├── ui/ # shadcn/ui components
│ │ ├── features/ # Feature-specific components
│ │ ├── layout/ # Layout components
│ │ └── auth/ # Auth components
│ ├── routes/ # Remix routes
│ ├── api/ # API integration
│ ├── stores/ # Zustand stores
│ └── styles/ # Global styles
├── docs/ # Documentation
├── public/ # Static assets
└── tests/ # Test files
├── e2e/ # End-to-end tests
└── unit/ # Unit tests
The template comes with JWT-based authentication by default. To switch to a different auth provider:
- Check the
/docs/features/auth
directory for available providers - Follow the setup instructions for your chosen provider
- Update the auth configuration in
app/config/auth.ts
- Modify the theme in
app/styles/theme.ts
- Update Tailwind configuration in
tailwind.config.js
- Customize shadcn/ui components in
app/components/ui
- Modify the root layout in
app/components/layout/root-layout.tsx
- Update navigation in
app/components/layout/navigation.tsx
- Customize the dashboard layout in
app/components/layout/dashboard-layout.tsx
The template is optimized for deployment on various platforms:
- Vercel (recommended)
- Netlify
- AWS
- Self-hosted
Follow the deployment guides in /docs/deployment/
for platform-specific instructions.
See our Development Backlog for planned features and improvements.
- Fork the repository
- 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
This project is licensed under the MIT License - see the LICENSE file for details.