Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 642 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 642 Bytes

Sample app in Nodejs(Koa) using Hasura(a haskel graphql framework) as ORM

This app exposes REST APIs over postgresql databbase using Hasura a graphql framework as ORM https://newtask1233.herokuapp.com/v1/graphql/.

This app uses minimal library/modules/framework for nodejs server, graqphql client and testing http.

Development procedures

  • npm i (to install node packages)
  • npm start (start the application)
  • npm test (run test around endpoints)

Libraries used

  • graphql-request (lightweight GraphQL client)
  • koa (nodejs server web framework)
  • supertest ( library to test HTTP)
  • jest (JavaScript Testing Framework)