How to set-up a powerful API with Nodejs, GraphQL, MongoDB, Hapi, and Swagger

Trevor-Indrek Lasn
9 min readMay 21, 2018

Separating your frontend and backend has many advantages:

  • The biggest reason why reusable APIs are popular — APIs allow you to consume data from a web client, mobile app, desktop app — any client really.
  • Separation of concerns. Long gone are the days where you have one monolithic-like app where everything is…

--

--