A T3 stack template for Onlook projects with TypeScript, Next.js, tRPC, Tailwind CSS, and Drizzle ORM.
- Framework: Next.js with App Router
- Language: TypeScript
- Database: SQLite with Drizzle ORM
- API: tRPC
- Styling: Tailwind CSS
- Package Manager: Bun
- 
Install dependencies: bun install 
- 
Set up the database: bun run db:push 
- 
Start the development server: bun run dev 
- bun run dev- Start development server with Turbopack
- bun run build- Build for production
- bun run start- Start production server
- bun run preview- Build and preview production build
- bun run typecheck- Run TypeScript type checking
- bun run lint- Run ESLint
- bun run format- Format code with ESLint
- bun run db:push- Push schema changes to database
- bun run db:generate- Generate database migrations
- bun run db:migrate- Run database migrations
- bun run db:studio- Open Drizzle Studio
Copy .env.example to .env and fill in the required values:
cp .env.example .envTo learn more about the T3 Stack, take a look at the following resources:
Apache-2.0