Unified template with SvelteKit (Svelte 5), TailwindCSS, DaisyUI, Auth, Postgres, and more.
by ctwhome
npx degit ctwhome/top-sveltekit <directory-name>
Steps:
Install the dependencies with pnpm install
Generate the google OAUTH credentials for the auth.js adapter
copy the .env.local.example file to .env.local
fill in the .env.local file with your own values
copy the .env.example file to .env
run npx auth secret
to generate a secret key for the auth.js adapter
Run locally:
pnpm dev
git remote add upstream git://github.com/ctwhome/top-sveltekit.git
git fetch upstream
git pull upstream main
Start the development server on http://localhost:5173
pnpm dev
Build the application for production:
pnpm build