It uses a self-contained database (located at ./backend/prisma/dev.db
)
It contains 2 functions
A running GraphiQL, you can use query and mutation there to list create user This function depends on things like nexus, nexus-plugin-prisma, prisma
Just returns the user count. Depends only on prisma
- make sure you have netlify cli installed globally
pnpm install
pnpm backend build
pnpm backend dev
Don't forget to set base directory as
./backend
Still not working online, just locally (this time because the DB won't work directly from serverless)