Hacker News GraphQL API

A GraphQL API for a Hacker News clone

About Hacker News GraphQL API

Hacker News is a social news website focusing on computer science and entrepreneurship. It is run by Paul Graham's investment fund and startup incubator, Y Combinator. In general, content that can be submitted is defined as "anything that gratifies one's intellectual curiosity."


hackernews-node was created so I could become more familiar with GraphQL. It was originally based off the code for How to GraphQL's GraphQL.js tutorial, and evolved as follows:

  • Integration tests added to facilitate refactoring.
  • Conversion to TypeScript.
  • Switched to constructing the GraphQL schema with Nexus Schema.

View the GitHub repo

Looking to integrate with GraphQL APIs?

Discover new APIs and use Apideck Unify to scale your integration strategy

Check it out