GraphQL server with JavaScript (Node.js) based on Prisma Client & graphql-yoga.
add .env file inside prisma folder with the following:
DB_URL=file:dev.db
1) yarn
2) npx prisma migrate save --name 'init' --experimental && npx prisma migrate up --experimental
3) npx prisma generate
4) yarn dev
The project should be up and running on http://localhost:4000
- Explore Prisma Documentation