hackernews-graphql-backend

CLI Commands

  • node src/index.js => runs server
  • prisma deploy => migrates tables
  • prisma generate => generates files (similar to seed)

Dependencies

  • bcryptjs
  • graphql-yoga
  • jsonwebtoken
  • prisma-client-lib

Global

  • yarn global add prisma => Install prisma as global dependency

devDependencies

  • jest
  • nodemon
  • supertest

Summary