Skip to content

saucecodeme/hono-react-better-auth

Repository files navigation

Hono, React, Better Auth, RPC, Postgres, Tanstack, Bun

  • Manual TanStack Router & Query Scaffold
  • Create custom Button component with variants (Mimic from shadcn)
  • Setup proxy in vite
  • Implement Hono RPC
  • Setup and run Docker container locally
  • Database setup using Drizzle ORM
  • Setup a query to fetch from backend
  • Setup hono routes
  • Setup Better Auth on the server side
  • Sign Up and Sign In page
  • Sign Out and improve Navbar (Show error toast on failed)
  • Protect the todos page
  • Generate & Migrate a new db schema -> Seed
  • Auth middleware
  • ...
  • Create prod db with Neon

Local Dev

  1. Install dependencies
bun install
  1. Copy .env.example to your own .env file
  2. Setup database
bun run db:up
bun run db:migrate
  1. Running
bun run dev

open http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages