A modern, production-ready template for building internal enterprise applications with Next.js 14+, featuring:
- 🔒 Authentication with Clerk
- 🗄️ Database with Drizzle ORM + Supabase
- 🎨 UI with Mantine
- 🚀 Deployment with AWS Amplify
- Role-based access control
- Automatic user creation on first sign-in
- Modern, responsive UI
- Type-safe database operations
- Test-driven development setup
-
Clone the repository
-
Copy
.env.exampleto.env.localand fill in your environment variables:cp .env.example .env.local
-
Install dependencies:
npm install
-
Set up your database:
npm run db:generate npm run db:push
-
Run the development server:
npm run dev
Run the test suite:
npm testWatch mode:
npm run test:watch- Generate migrations:
npm run db:generate - Push schema changes:
npm run db:push - Open Drizzle Studio:
npm run db:studio
- Set up an AWS Amplify project
- Connect your repository
- Configure environment variables in the Amplify Console
- Deploy!
MIT