1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00
_/nexus-with-prisma/README.md

25 lines
486 B
Markdown
Raw Permalink Normal View History

2020-10-08 15:36:55 +09:00
# Nexus Example With Prisma
This example shows how to use Nexus with [Prisma](https://prisma.io) without the [Prisma plugin for Nexus](https://nxs.li/plugins/prisma). 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 save --experimental
npx prisma migrate up --experimental
```
Terminal 1
```
npm run dev
```
Terminal 2
```
npm run dev:typecheck
```