Skip to content

Example of how to use XState and Svelte with Firebase authentication

Notifications You must be signed in to change notification settings

codechips/svelte-firebase-auth-xstate-example

Repository files navigation

svelte-firebase-auth-xstate-example

🔒 How to do Firebase authentication with XState and Svelte

This is example code for my blog posts:

firebase auth login form

Firebase config

Make sure to put your Firebase API key in the .env file in the root directory.

VITE_FIREBASE_KEY=your-firebase-auth-key

Also change your project name in App.svelte

How to run

Clone and run npm i && npm run dev

To see the complete code for the first article do:

$ git checkout plain-firebase-auth

There is more!

For more interesting stuff like this follow me on Twitter or check out my blog https://codechips.me

About

Example of how to use XState and Svelte with Firebase authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published