Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Leftium/userfrontKit

Repository files navigation

This example has been deprecated!

Please see latest version at: https://github.com/Leftium/userfront-svelte









Userfront SvelteKit auth example

Live Demo: userfront-kit.vercel.app

This is a port of the Userfront Vue.js/React examples to SvelteKit based on:

Userfront Svelte bindings are included and based on:

Usage

Starts a local server:

npm run dev

Optional steps to get protected API endpoints working:

  1. Set VITE_USERFRONT_PUBLIC_KEY environment variable to your own Userfront public key. The base64 version must be used!
  • Locally: Copy .env.example file to .env.local, edit file.
  • Vercel, Netlify, etc: Set VITE_USERFRONT_PUBLIC_KEY environment variable in deployment settings.
  1. Rebuild/redeploy.

About

SvelteKit + Userfront

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors