Github: https://github.com/Co1eCas3/sveltekit-auth-play
An authentication system using Sveltkit + MongoDB Atlas allowing users to provide only their email, no passwords. Upon login, user receives an email with a link containing a login token as a query parameter. They are logged in once they navigate to that link.
hooks.js
a.Before creating a production version of your app, install an adapter for your target environment. Then:
npm run build
You can preview the built app with
npm run preview
, regardless of whether you installed an adapter. This should not be used to serve your app in production.