Sveltekit user auth template using lucia, prisma, and pico css TypeScript, Svelte, SvelteKit, Lucia, Prisma, SQLite, and Pico CSS.
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