A minimal starter template for 🏝️ TanStack Start.
- TanStack Start + Router + Query
- Tailwind CSS + shadcn/ui
- Drizzle ORM + PostgreSQL
- Auth based on Lucia
Auth providers:
- GitHub
- Discord
-
Use this template or clone this repository.
-
Install dependencies:
pnpm install # npm install
-
Create a
.env
file based on.env.example
. -
Push the schema to your database with drizzle-kit:
pnpm db push # npm run db push
-
Run the development server:
pnpm dev # npm run dev
The development server should be now running at http://localhost:3000.
-
Configure
app.config.ts
for your preferred deployment target. Read the hosting docs for more information. -
Build the application:
pnpm build # npm run build
-
If building for Node, you start the application via:
pnpm start # npm start