A SvelteKit barebones template with Authentication using Lucia, Prisma and OAuth2.
Clone the repository locally.
git clone https://github.com/principle105/sveltekit-lucia-prisma-oauth
Install dependencies.
npm i
Copy the content from .env.example
into .env
and fill it with the necessary information. The template uses GitHub OAuth2 and MongoDB by default but you can change both of them to what you want.
Run the application.
npm run dev