Next.js 15 fullstack template with better-auth for authentication and drizzle-orm as the ORM.
Warning
This project uses Next.js 15-canary to support node runtime on middleware. This is not yet supported in stable version.
- Full-stack framework: Next.js 15-canary
- UI: Tailwind CSS v4
- Component library: Shadcn UI
- Authentication: better-auth
- Database: postgres
- ORM: drizzle-orm
- Authentication
- Social login
- Github
- Discord
- Social login
- Database
- Postgres (Neon)
- ORM: drizzle-orm
- Next.js API, server actions, and middleware
- Clone the repository
git clone https://github.com/rudrodip/titan.git
- Install dependencies
bun install
- Create environment file
cp .env.example .env
- Generate database schema
bun run db:generate
- Migrate database
bun run db:migrate
- Run the development server
bun dev
- Open the browser and navigate to
http://localhost:3000