Skip to content

sveltekit user auth template using lucia, drizzle, psql, and pico css

Notifications You must be signed in to change notification settings

moolenbeek/sveltekit-auth-psql

Repository files navigation

sveltekit-auth-psql

Sveltekit user auth template using lucia, drizzle, psql, and pico css TypeScript, Svelte, SvelteKit, Lucia, Drizzle, 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-psql
cd sveltekit-auth-psql

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 database parameters to your .env without the square brackets:

DATABASE_URL="postgres://[user]:[password]@[host]:[port_number]/[db_name]"

Generate database

npm run generate

Migrate database

npm run migrate

Start development server:

npm run dev

Drizzle studio

npm run studio

About

sveltekit user auth template using lucia, drizzle, psql, and pico css

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published