Skip to content

OpenSourceAGI/StarterDOCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Discussions PRs Welcome

⚒️ Starter DOCS: Drizzle OAuth Cloudflare Svelte

Docs-Driven Development: Generate easy-to-understand docs from your JS functions and APIs, to maximize reusable value and make the options clear to everyone.

Functionally Brilliant, Elegantly Simple Toolkit: StarterDOCS is to SvelteKit what Next.js is to React: full stack with smart defaults for common needs. It is easy to switch in alternatives: Such as running on AWS/GCE instead of Cloudflare, or using Next/Supabase isntead of Svelte/Cloudflare.

bun create starter-app

📚 Drizzle ORM - lightweight ORM compatible with Cloudflare D1 and drizzle-kit to manage schema migrations

👤 Better Auth- Google oAuth sign-in and/or email signup via Resend mailer api, Stripe built-in, API docs, One Tap, with 4 email templates: reset password, change email, verify email, welcome. Settings and admin panel for users.

☁️ Cloudflare for Svelte - serverless autoscaling API and D1 database, great hosting platform with free tier

🖼️ SvelteKit - full stack interface and API routes framework. Many developers prefer Svelte over React.

🧩 Interface Components

🎨 Tailwind CSS + Bits UI + shadcn-svelte - popular UI components, with  lucide icons

📝 formsnap + sveltekit-superforms with zod validation and rate-limiting in server memory

Vitest - unit testing UI

📦 Available Starter Templates

The packages/ folder contains production-ready starter templates for different use cases:

1. template-svelte-auth-drizzle-shadcn (Main Template)

Full-stack SvelteKit starter with authentication and database integration.

Tech Stack:

  • Framework: SvelteKit with Cloudflare adapter
  • Database: Drizzle ORM with Cloudflare D1
  • Auth: Better Auth with Google OAuth
  • UI: Tailwind CSS + shadcn-svelte + Bits UI
  • Forms: Formsnap + Superforms with Zod validation
  • Email: Resend for transactional emails
  • Testing: Vitest with UI
  • Deployment: Cloudflare Pages

2. template-nextjs-drizzle-betterauth

Modern Next.js SaaS boilerplate with comprehensive authentication.

Tech Stack:

  • Framework: Next.js 15 with App Router
  • Database: PostgreSQL with Drizzle ORM
  • Auth: Better Auth with Better Auth UI components
  • UI: shadcn/ui + Tailwind CSS
  • Payments: Stripe integration
  • Uploads: UploadThing for file management
  • Email: Resend
  • Monorepo: Turborepo
  • Linting: Biome

3. template-nextjs-betterauth-prisma-shadcn

Next.js starter focused on authentication with Prisma.

Tech Stack:

  • Framework: Next.js 15
  • Database: PostgreSQL with Prisma ORM
  • Auth: Better Auth (Google OAuth + Credentials)
  • UI: shadcn + Tailwind CSS

4. template-fumadocs

Documentation site template with search and API documentation.

Tech Stack:

  • Framework: Next.js with Fumadocs
  • UI: Fumadocs UI components
  • Search: Orama search engine
  • API Docs: Fumadocs OpenAPI + TypeScript support
  • Styling: Tailwind CSS

5. template-docusaurus

Documentation template using Docusaurus with OpenAPI support.

Tech Stack:

  • Framework: Docusaurus 3
  • Search: Lunr Search
  • API Docs: OpenAPI Docs plugin + TypeDoc
  • Styling: Tailwind CSS
  • React: React 19

🖼️ Screenshots

About

💻⚒️ Svelte Starter DOCS (💧Drizzle 🔐OAuth ☁️ Cloudflare 🖼️ SvelteKit) - 🚀DEMO https://starterdocs.vtempest.workers.dev

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •