Gaurab Paul

Polyglot software developer & consultant passionate about web development, distributed systems and open source technologies

Support my blog and open-source work

Tags

Integrating Next.js, Apollo Server and Koa
Posted  5 years ago

It is fairly straightforward to add a GraphQL API powered by Apollo Server to a Next.js application through a koa middleware.

The abbreviated snippet below summarizes the setup along with the libraries involved: