cuongchau93 / hello-graphql-express

basic graphql with database persistent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-graphql-express

Basic graphql with database persistent At the current time, prisma can only be started locally with Docker Therefore this demo project use demo prisma for persistent

#HOW TO

  1. npm i --g prisma
  2. when there are changes to datamodel.prisma, run prisma deploy
  1. 'prisma generate' for generating the prisma-client
  2. node hello.js
  3. check the sample query file

INFO

  • The generated prisma-client is written in typescript
  • Architect of Prisma

About

basic graphql with database persistent


Languages

Language:JavaScript 100.0%