Published in


Creating a GraphQL API with NextJS

Why use REST when you can use GraphQL?

GraphQL logo from the official site.

REST has been invented years ago, and it might become outdated, however, we still have more modern alternatives that are being worked on each day by hundreds of contributors. GraphQL, first internally used by Facebook, has been made public quite some years ago, and today it’s easier than ever to create a good API with it.




Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

How to set up routing in an Express.js project using TypeScript

Facebook Login tutorial for React Native

ThreeJS Hands-ons — How to make your own Bat Signal

Linked List

How Locus uses React Hooks with Class components

The #1 tip to familiarize with new JavaScript codebases

In my opinion, a lot of the information you can find on

The Cookbook: Fable

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Always learning👨🏻‍🎓. I occasionally write about programming. Follow me on Twitter @0xmbvissers

More from Medium

Firebase vs MongoDB: Which One is the Best for Your Next App?

Fast Serverless Authentication with Next.js and PropelAuth

Next.js | How to use URLs to improve the UX of your applications

Build Your Own UseTranslation Hook With Next.js