Skip to content

sveltekit user auth template using lucia, prisma, sqlite, and pico css

Notifications You must be signed in to change notification settings

moolenbeek/sveltekit-auth-prisma

Repository files navigation

sveltekit-auth-prisma

Sveltekit user auth template using lucia, prisma, and pico css TypeScript, Svelte, SvelteKit, Lucia, Prisma, SQLite, and Pico CSS.

Get started

Clone the repository and navigate to the project directory:

git clone https://github.com/moolenbeek/sveltekit-auth.git sveltekit-auth
cd sveltekit-auth

If you would like to remove existing .git repository and re-initialize Git locally:

rm -rf .git
git init

Once you've cloned the project, install dependencies with NPM:

npm install # or `npm i`

Add the following to your .env

DATABASE_URL="file:./dev.db"

Migrate database

npx prisma migrate dev --name init

Start development server:

npm run dev