- Start up PostgreSQL server somewhere (use https://hub.docker.com/_/postgres/)
- Install dependencies (
npm i
) - Create
.env
containingDATABASE_URL
similar to.env copy
, append/mydb?schema=public
to targetmydb
database'spublic
schema. - Run
npx prisma db push
to push schema to database, and runnpx prisma generate
if it doesn't do that already to create Prisma Client npm run dev
to start up dev server!
-
Notifications
You must be signed in to change notification settings - Fork 0
jojobii-arks/learning-prisma-sveltekit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Learning SvelteKit and Prisma by making the usual todo-app, styled with Daisy UI (Tailwind CSS)