Skip to content
/ tanstarter Public template

minimal TanStack Start template with Drizzle ORM, Tailwind CSS, Lucia-based auth

Notifications You must be signed in to change notification settings

dotnize/tanstarter

Repository files navigation

A minimal starter template for 🏝️ TanStack Start.

Auth providers:

  • GitHub
  • Google
  • Discord

Getting Started

  1. Use this template or clone this repository.

  2. Install dependencies:

    pnpm install # npm install
  3. Create a .env file based on .env.example.

  4. Push the schema to your database with drizzle-kit:

    pnpm db push # npm run db push

    https://orm.drizzle.team/docs/migrations

  5. Run the development server:

    pnpm dev # npm run dev

    The development server should be now running at http://localhost:3000.

Building for production

  1. Configure app.config.ts for your preferred deployment target. Read the hosting docs for more information.

  2. Build the application:

    pnpm build # npm run build
  3. If building for Node, you start the application via:

    pnpm start # npm start