Categories
Codes GraphQL gRPC Node.js

Setting Up GraphQL Server as gRPC Client

Let’s make a GraphQL server we created before using Node.js to be a gRPC Client which connects to a gRPC server which data is in a mock DB.

Categories
Codes Node.js

Using gRPC For Connecting Microservices

This time, I want to share about creating Node.js microservices project using gRPC as the method of communication between the services.

Categories
Codes Javascript Node.js

How to Implement GraphQL in Microservices Using Node.js – Part 1

In this first part of “How to Implement GraphQL in Microservices Using Node.js”, I will share about implementing GraphQL as a gateway to our microservices.

Categories
Codes Javascript Node.js

How to Create REST API Using Node.js – Part 4

Part 4 of the “How to Create REST API Using Node.js”! In this post, I will share about improving the API security by adding JWT.

Categories
Codes Javascript Node.js Redis

How to Create REST API Using Node.js – Part 3

Part 3 of “How to Create REST API Using Node.js”. In this part, I will share about implementing a simple cache using Redis.

Categories
Codes Javascript MongoDB Node.js

How to Create REST API Using Node.js – Part 2

In this second part of REST API series, I will share about implementing MongoDB to the API routes created from the previous post.

Categories
Codes Javascript MongoDB Node.js Redis

How to Create REST API Using Node.js – Part 1

In this multiple posts series, I will share about creating a simple REST API using Node.js and Express. The good news is

Categories
Codes General Javascript

Generator Functions in JavaScript

Have you ever heard of generator functions in JavaScript? In this post, I share about generator functions and how to implement them.

Categories
Codes Javascript

Object Destructuring Tricks in JavaScript

Object destructuring is a powerful feature in JavaScript ES6. It reduces the codes you need to write in JavaScript. In this post, I share some of the tricks in object destructuring, hope it helps!

Categories
Codes Javascript

Handling Errors in Asynchronous Functions

Handling errors in your code is a must, to let users know that something is not right when they use your program. In this post, I share about handling the errors of asynchronous functions in JavaScript.