This is a starter project for using SvelteKit with cookies auth.
It has everything you need to have JWT authentication working with Prisma and SqlLite.
Tailwind CSS is also setup and is used for styling.
I got a lot of inspiration from https://joyofcode.xyz/sveltekit-authentication-using-cookies
Here's how to make this project work!
# from the root directory
npm install
# from the root directory
npx prisma db push
# from the root directory
npx prisma studio
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build