A SvelteKit starter template integrated with Hanko.io Auth
.
Hanko.io is great open source alternative if you want to go passowrdless with your auth (Passkeys, Passcodes, Security Keys, OAuth, ...).
The template uses both [<hanko-auth>
] & [<hanko-profile>
] web componenets for login and profile.
To get started with SvelteKit-Hanko-Auth, first clone the repo:
git clone https://github.com/SimoMay/sveltekit-hanko-auth.git
Then install the dependencies:
cd sveltekit-hanko-auth
pnpm install
Replace the example env file:
mv .env.example .env
Start a development server:
pnpm dev
To create a production version of your app:
pnpm build
You can preview the production build with pnpm preview
.
To deploy your app, you may need to install an adapter for your target environment.