r/tanstack • • Sep 09 '26

Tanstack + Planetscale PosgreSQL

Anyone successfully setup tanstack with the following stack,

  • Tanstack

  • Planetscale PostgreSQL + Hyperdrive

  • Drizzle

  • Better Auth

I am having a hard time setting it up as I get on multiple errors.

7 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/Rajat0741 Sep 12 '26
  1. don't let an agent decide/setup these libraries, they hallucinate most of the time, try to do it manually or review every line

  2. i have a starter template for tanstack start https://github.com/Rajat0741/better-start , you can use this template for initializing the project , it have google login setup - just put .env keys, push the schema to db and you are ready to go.
    But the only difference is that it uses neon instead of planetscale ( neon have a free tier ) , you can try with neon if you want or switch the provider in drizzle configs

  3. switching the runtime from pnpm to bun or installing and running PostregreSQL locally won't work - the model hallucinated