We’ll build a complete email and password authentication system with session management to see how Better Auth works. Users will be able to sign up, log in and stay authenticated across page refreshes. We’ll use Next.js, Drizzle ORM and SQLite.
In this article, we will build a to-do app to see TanStack DB in action. We’ll cover how to set up collections, what “live queries” are, and why “differential dataflow” makes it so fast. We'll also cover when to use TanStack DB and when TanStack Query alone is enough.