Creating a GraphQL server with NodeJS

When it comes to network requests between a client and a server application, REST (which stands for Representational state transfer) is one of the most popular choices for connecting the two. In the world of REST APIs, everything revolves around the idea of having resources as accessible URLs. We then use CRUD operations (Create, Read, Update, Delete), which are basically HTTP methods such as GET, POST, PUT & DELETE, to interact with the data.

This is a companion discussion topic for the original entry at

Hi Aman,
I found some problems while following your example. I was able to fix them with this:

npm install @babel/preset-env --save-dev

and configure your .babelrc with:

{ “presets”: ["@babel/preset-env"] }

I hope this helps other people.

Best regards,