A clean and simple demo project showcasing authentication implementation using BetterAuth, Turso database, and SvelteKit with Svelte 5.
src/
├── lib/
│ ├── auth/ # Authentication related code
│ ├── db/ # Database related code
│ └── components/ # Reusable components
├── routes/
│ ├── auth/ # Authentication routes
│ └── protected/ # Protected routes
└── app.d.ts # TypeScript declarations
See DEVELOPMENT_PLAN.md for detailed development phases and CHECKLIST.md for current progress.
Clone the repository
Install dependencies:
npm install
Set up environment variables (see .env.example
)
Start the development server:
npm run dev
MIT