Skip to content

codeKk21/Koa-over-graphql

Repository files navigation

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)

Releases

No releases published

Packages

No packages published