Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.23 KB

README.md

File metadata and controls

56 lines (45 loc) · 1.23 KB

graphql-nodejs

Graphql with nodejs

v 1.0.0

my study note

  • Node.js(express)
  • apollo-server
  • es6
  • login and jwt session
  • sign-up
  • Graphql query, mutation
  • prisma
  • sqlite
  • hacker news api
  • Realtime Graphql subscriptions
    • update new link()
    • update vote()
  • filtering
  • limit-offset pagination
  • sorting
    • enum based sort
    • string sort
  • count number of row

v 2.0.0

setup

npm install apollo-server graphql
npm install jsonwebtoken bcryptjs
npm i @prisma/cli -D


npx prisma init
npx prisma migrate dev --preview-feature
npx prisma generate
npx prisma studio # check model with prisma studio web

ref