A modern Next.js template with Shadcn UI, TypeScript, Tailwind CSS, and T3 Env configuration.
Mostly for my own but feel free to use 😁
To create a new project using this template, run:
npm create aaanh-stack my-app
This will create a new directory called my-app
with all the necessary files and configurations.
- Next.js 15 with App Router
- Shadcn UI components
- TypeScript
- Tailwind CSS
- T3 Env for type-safe environment variables
- Drizzle ORM for database management
- Modern development setup with Turbopack
After creating your project:
-
Navigate to your project directory:
cd my-app
-
Set up your environment variables:
- Copy
.env.local.example
to.env.local
- Update the
DATABASE_URL
with your database connection string - Add any other environment variables your application needs
- Copy
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open http://localhost:3000 in your browser to see your application.
The template uses T3 Env for type-safe environment variables. The following environment variables are required:
DATABASE_URL
: Your PostgreSQL database connection string
MIT