Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal full-stack TanStack Start template that uses React 19, Vite, Prisma, PostgreSQL, Tailwind CSS v4, Shadcn UI, Zod, and Auth.js.
TanStack Start Template is a full-stack boilerplate built on the TanStack Start meta-framework and React 19, shipping with Prisma, PostgreSQL, Tailwind CSS v4, Shadcn UI, and Auth.js Google OAuth out of the box.
TanStack Start Template is a minimal full-stack application scaffold that runs on TanStack Start, a Vite-based meta-framework, and uses React 19 for UI. The template takes environment configuration for a PostgreSQL database and Google OAuth credentials as input, and produces a server-side rendered web application with type-safe loaders and authenticated routes. The template is maintained by danybeltran on GitHub.
@tailwindcss/vite.DATABASE_URL and DIRECT_URL.@auth/core authentication with Google, including a ready dev redirect URI.After cloning the repository, you create a .env file with your database and Google OAuth credentials. Running bun install and then bun run dev starts the development server on port 3000, while Prisma generate and push run automatically during startup so the database schema stays in sync.
Follow the Google OAuth2 credentials guide, then add GOOGLE_APP_CLIENT_ID and GOOGLE_APP_CLIENT_SECRET to your .env file. The authorized redirect URI for local development is http://localhost:3000/api/auth/callback/google.
Use openssl rand -base64 32 or python3 -c "import secrets; print(secrets.token_urlsafe(32))" to create a secure hash, then set it as NEXTAUTH_SECRET in .env.
No, it uses TanStack Start, a Vite-based meta-framework. The repository name and some older tags may reference Next.js, but the codebase is built on TanStack Start with React 19.
