sveltefirets icon indicating copy to clipboard operation
sveltefirets copied to clipboard

Firebase ❤️ Svelte: A SvelteKit + Typescript + Firebase library inspired by Fireship.io

SvelteFireTS

NPM Donate

  • SvelteKit (tested on 1.0.0-next.427)
  • Typescript
  • Firebase 9.9
  • includes an optional FirebaseAuthUi component that brings in FirebaseUI web + Firebase 9 compat via CDN only when component shown - FirebaseUI web allows for easy authentication in dozens of languages and many providers without you needing to manage the authentication forms

Usage Instructions

Read the docs or try editing them as a demo online in Stackblitz

Developing

  • pnpm i
  • pnpm dev

Inspiration: Fireship.io

Jeff Delaney gets credit for much of SvelteFireTS. I started with SvelteFire then added Typescript, borrowed some convenient helpers from Jeff's Firestore Advanced Usage Angularfire, and made it work with SvelteKit's SSR + Client situation. If you like what you see here, you should sign up at Fireship.io and subscribe to the Fireship Youtube Channel for great tutorials.