Posts for Shubham

Hi there, I am a backend engineer. I love to write articles and tutorials on Golang and Nodejs.
Shubham
Shubham wrote

Learn how to compare strings in the golang

A string value is a sequence of bytes. In the software developer’s life, comparing strings and sorting it is a day to day routine. In this tutorial, we will learn different ways to compare strings in the golang. Using the Comparison operators To check if strings are equal or not, you can use == or […]

June 2, 2020 in Code examples & GoLang
Shubham
Shubham wrote

Create a CLI in golang with Cobra

In this tutorial, we will create a color cli in golang using cobra library. CLI is a standard interface between a software and a user. A command-line interface (CLI) processes commands to a computer program in the form of lines of text. – Wikipedia Objective of the color cli The objective of the colorcli is […]

March 23, 2020 in GoLang
Shubham
Shubham wrote

Building an offline To-Do App with React

In this tutorial, we will create an offline To-Do App with React. We will use browser local storage to save the tasks, which will keep the tasks even after we close the browser. In the end, we will host this application on Github pages. Pre-requisites Nodejs Code editor (I am using VS Code) Github Account […]

March 3, 2020 in React & Tutorials
Shubham
Shubham wrote

Build a CRUD application in Golang with PostgreSQL

In this tutorial, we are going to build a CRUD application in Golang. We are going to use gorilla/mux library for the apis and PostgreSQL DB to store the data. So, without wasting any time, roll up your sleeves. This tutorial is a complete hands-on. Prerequisites Install golang v1.11 or above. Basic understanding of the […]

February 29, 2020 in GoLang & Tutorials
Shubham
Shubham wrote

Learn How to use JSON in Golang

When you start a project which interacts with the outer world, it requires data exchange. To make a project successful this interaction must be simple and efficient. What is Data Exchange? Data exchange is the process of taking data structured under a source schema and transforming it into data structured under a target schema, so […]

February 16, 2020 in GoLang & Tutorials