Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/tanstarterPublic template

minimal TanStack Start template with Better Auth, Drizzle ORM, shadcn/ui

NotificationsYou must be signed in to change notification settings

dotnize/tanstarter

Repository files navigation

A minimal starter template for 🏝️ TanStack Start.

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 athttp://localhost:3000.

Issue watchlist

Auth

Better Auth is currently configured for OAuth with GitHub, Google, and Discord, but can be easily modified to use other providers.

If you want to use email/password authentication or change providers, update theauth config andsignin page with your own UI. You can useshadcn/ui login blocks or@daveyplate/better-auth-ui as a starting point.

Goodies

Scripts

These scripts inpackage.json usepnpm by default, but you can modify them to use your preferred package manager.

  • auth:generate - Regenerate theauth db schema if you've made changes to your Better Authconfig.
  • db - Run drizzle-kit commands. (e.g.pnpm db generate to generate a migration)
  • ui - The shadcn/ui CLI. (e.g.pnpm ui add button to add the button component)
  • format andlint - Run Prettier and ESLint.

Utilities

Building for production

Read thehosting docs for information on how to deploy your TanStack Start app.

Acknowledgements


[8]ページ先頭

©2009-2025 Movatter.jp