Minimal starter project with just the basic authentication pages and components that you can build on.
- Email - Password auth with verification codes + rate limiting
- Google & Github Oauth
- Authentication Modals
- Account linking
- Shadcn-svelte + Superforms
- Turso DB + Drizzle ORM (swap with your preferred db, just follow drizzle docs)
To setup the project you need to first create a local Libsql database and run the drizzle scripts to set up the database and then start the dev server.
- In project root, add
db/sqlite.db
- Change
.env.example
-->.env
- Update keys to enable Oauth & Resend verification emails
pnpm db:generate
pnpm db:push
pnpm dev
To create a production version of your app:
pnpm run build