Photo by Markus Winkler on Unsplash

Fellas, in this post i would like to share a way to create search bar and simple filter functionality in React. Without further ado, here are the 4 simple steps to do it.

Step1. Set up a React App

In this post, we are going to create a single html page showing a list of countries taken from REST COUNTRIES API. We can then filter which countries we want to show by typing the name of the country on the search bar. We can start by initiating our React App with :

npx create-react-app my-app

In our App.js file, delete all unnecessary files and put a…


Photo by Yomex Owo on Unsplash

Fellas, this post is about how to run Go application in the background with Ubuntu server. To do so, we could use the built in service in Ubuntu called systemd.

Let’s try to take a look at it briefly. System Daemon or so called systemd is a suite of basic building blocks for a Linux system. As described by Linode,

systemd is a Linux initialization system and service manager that includes features like on-demand starting of daemons, mount and automount point maintenance, snapshot support, and processes tracking using Linux control groups. …


Creating a simple logging package in Golang

Photo by Ian Schenider from Unsplash

.. a piece of code that is used to record important events and activities of a program. It is saved in a file called the “Logfile”.

The Essence of a Log file

By its literal meaning from Oxford Dictionary, the word “log” can be defined as “an official record of events during a particular period of time, especially a journey on a ship or plane”. In the programming realm, programmers use this term as well to keep a record of important events and activities that matter for a program to run properly. …


Photo by Ben White on Unsplash

Go is an emerging programming language within our current programmer society nowadays. Have been dealing with the language for a few months back, I found that Go comes with a nice built-in feature for unit testing. Then a problem arose. I could not run the “go test” command because I do not have Xcode installed on my laptop for two apparent reasons; it consumes too much storage and I do not deal with mobile app development at the current moment. For those who have a similar condition with me, I would like to share the troubleshoot for this matter.

With…


Creating Bar Chart with D3js

The essence of Bar Chart

A bar chart is one great tool to visualize quantitative data. A bar graph divides quantitative data down by group and represents these amounts of each group by using bars of different lengths, using either the number of individuals in each group (also called the frequency) or the percentage in each group (called the relative frequency) (Deborah J. Rumsey). In the simplest words, the graph shows a comparison between different categories or classes. Visually, the bars (each representing certain class/group) is plotted vertically (bars standing up) or horizontally (bars laying flat from left to right). …

Praditya Adhitama

Fullstack Developer and GIS Enthusiast

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