|
|
||
|---|---|---|
| .. | ||
| prisma | ||
| .gitignore | ||
| README.md | ||
| api.graphql | ||
| api.ts | ||
| context.ts | ||
| package.json | ||
| tsconfig.json | ||
| yarn.lock | ||
README.md
Nexus Example With Prisma
This example shows how to use Nexus with Prisma without the Prisma plugin for Nexus. This approach is lower-level and here for reference reasons. Generally, you would want to use the Prisma plugin.
Try It
npm install
npx prisma generate
npx prisma migrate dev --preview-feature
Terminal 1
npm run dev
Terminal 2
npm run dev:typecheck