GO Middleware with GO Middleware usually sits between client site request on Front-end and the backend resource being requested. Middleware is very useful especially when we wanted to have some verifications such as the request methods, headers and JWT before we makes the API call
REACT useEffect Hook useEffect is very useful especially when we wanted to execute blocks of code after the component has rendered. By default, effects run after every completed render, but we can also define to fire them only when certain values have changed which is good for the optimization.
REACT useState Hook useState hook is very useful in storing single form of data. It returns 2 parametes which are current state and the function to update the state. React will automatically show the latest state value when the current state has changed by rerendering the component. Usestate hook is very useful as we can utilize it to dynamically display the data we want.
JAVASCRIPT Node Package Manager Node Package Manager (NPM) is a package manager for the JavaScript programming language.It makes us easily install modules or packages in our system. It also makes it easier for developer to share their code. For example, after we cloned someone respository from Github, we can always type `npm install` and `npm start` to see the application in the development
GO REST API with Go In this article, we are going to build a simple restful service with Golang by using Gorilla Mux package
HTML CSS How to center a DOM element Center an element sometimes can be very confusing. It can be center horizontally, center vertically or center both horizontally and vertically in the same time. In this article, we will be discussed multiple approaches to center the element in different situation.
REDIS GO Redis List Redis Lists are simply lists of strings, sorted by insertion order. It is possible to add elements to a Redis List pushing new elements on the head (LPUSH) or on the tail (RPUSH) of the list.
JAVASCRIPT ALGORITHM & DATA-STRUCTURE HashMap Javascript itself comes with Object and Hashmaps(Map) that will organize and arrange the data into key-value pairs. Hashmap are organized as linked list in the sense that it remembers the original insertion order of the keys