splat-template

Splat Template

A project template to start with the SPLAT stack (SvelteKit, Prisma, Lucia (Auth), TailwindCSS)

SPLAT logo

SPLAT

A project template to get started with the SPLAT stack (SvelteKit, Prisma, Lucia (Auth), TailwindCSS)

Project Setup

Clone this repo (eg: using Github CLI below) and install packages with npm (or pnpm, etc.)

gh repo clone zeucapua/splat-template
cd splat-template
npm install

Edit .env with Database URL and OAuth (eg: Postgres, Discord OAuth)

DATABASE_URL=<postgres:url>
DISCORD_CLIENT_ID=<from discord.com/developers>
DISCORD_CLIENT_SECRET=<from discord.com/developers>

Run Prisma to shape database and generate client

npx prisma db push

Run website locally

npm run dev

Top categories

Loading Svelte Themes