A minimal pastebin-like SvelteKit example app that uses a local SQLite database via the Prisma ORM through a SvelteKit endpoint.
The database and its required files are included in this repository for demonstration purposes, though it is empty.
To generate it from scratch;
pnpm install
/prisma
except for /prisma/schema.prisma
.pnpx prisma migrate dev --name init
.pnpx prisma generate
.I'm using pnpx
here, which is pnpm
's equivalent to npm
's npx
.
/:title
(this page would be at /Doggo ipsum
)