Recent articles

I write tutorials about web and mobile development with various frameworks and languages.

EconometricsComparing Autoregressive Time-Series Models to Forecast GDP

I'm currently taking an intro to econometrics course this semester. Over the last two weeks, the topic was about time-series regressions…

SwiftHow to Display an Image Picker in Swift

In this tutorial, I'm going to show you how you can add an image picker component on your iOS apps using UIImagePickerController, a view…

JavaScriptThe Ultimate JavaScript Promise Tutorial

One of the features that make JavaScript stands out from other high-level programming languages is its asynchronicity. JavaScript makes us…

DenoI'm Building an ORM for Deno!

This article was originally posted on DEV. Hey developers! I hope you're doing well. I just want to let you know that I'm currently working…

TypeScriptA Practical Guide to TypeScript Decorators

This article was originally written for LogRocket. We can all agree that JavaScript is an amazing programming language that allows you to…

GoHow to Build a REST API with Golang using Gin and Gorm

This article was originally written for LogRocket. Go is a very popular language for good reason. It offers similar performance to other…

PythonEnable Login with Email in Django

Django is currently my favorite framework for building web applications. Despite its simplicity and delightful development experience, one…

TypeScriptHow to Build a GraphQL API with TypeGraphQL and TypeORM

This article was originally written for LogRocket. GraphQL's popularity is constantly growing, and it’s no mystery as to why: it’s a great…

Node.jsHow to Upload Files with Multer

Uploading files is an essential feature for web applications these days. This tutorial will cover how to upload files into a server from the…

JavaScriptHow to Generate Unique ID in JavaScript

There are several ways to generate unique identifier in JavaScript. This could very useful in many cases, such as rendering list efficiently…

JavaScriptFull-Text Searching with Lunr.js

Lunr.js is a full-text search library for JavaScript. It allows us to perform a complex search to a collection of data. Its small, powerful…

JavaScriptHow to Search an Array in JavaScript

In the previous tutorial, we learn about how we can do CRUD operations to an array in JavaScript. In this tutorial, we are going to learn…

JavaScriptHow to CRUD an Array in JavaScript

There are two ways to create, update, and delete items to an array in JavaScript. The first approach is by using the mutable methods which…

ReactHow to Use Formik

Formik has just released the version 2.x, which is a major release that has some breaking changes in its API. It offers some additional…

GraphQLHow to Use GraphQL DataLoader

GraphQL offers a very convenient way to handle database relations. But with this simplicity comes with an issue that actually easy to fix…

ReactHow to Fetch Data with React Suspense

A while ago, React introduces a new set of features called "Concurrent Mode". And its basically allows you to interrupt the rendering…

Node.jsHow to Build a REST API with Express and Mongoose

This tutorial will guide you to build a RESTful API with Node.js, Express, and Mongoose with CRUD functionalities. I expect that you have…

ReactHow to Fetch Data with React Hooks

In this tutorial, we're going to learn about new React feature called "Hooks". Well, I have written a lot of tutorials about React Hooks…

PythonHow to Build a REST API with Flask and SQLAlchemy

Flask is a great framework that enables you to build web applications quickly with Python. It's fast, small, and fun to work with. In this…

FlutterHow to Fetch an API in Flutter

Great applications should provide useful information to their users. Therefore, displaying data from other source (server) is necessary for…

Node.jsHow to Build a Realtime Chat App with Node.js

In this tutorial, we are going to build a basic chat application with Node.js. Before we get started, I assume that you have little bit…

React NativeBuild Quotes App with React Native in 5 Minutes

Three days ago, I just give my first tech talk about "How to Get Started as a Mobile Developer" in Jakarta. I talk about what's going on…

Node.jsHow to Test Your Express API with SuperTest

Express is the most popular Node.js framework for building web applications, especially REST APIs. And in this article, I'm going to show…

PythonRun External Program with Subprocess in Python

There are many scenarios where you want to write a small programs that are designed to automate simple tasks. For instance, you want to…

FlutterAsynchronous Programming in Dart

Flutter is getting more popular than ever! But before you start learning the framework, you need to learn the programming language first. I…

Google CloudAutomate App Deployment with Google Cloud Build

Automation is one of the most important aspects in web development. Cause everyone wants to deliver scalable and reliable web application to…

ReactA Brief Guide to Test React Components with Hooks

Testing is a fundamental skill for every web developer to build high quality and stable web applications. But, it's also intimidating…

ReactGlobal State with React Hooks

React Hooks let you use state and other React features in functional components. On the other hand, React Context provides a way to pass…

ReactHow to Optimize React Hooks Performance

Hooks are one of React's most influential features that redefine the way we write components in React. They let you use the majority of…

PythonRender Bootstrap Form in Django

Dealing with user input is a very common task in modern web applications. Luckily, Django offers a convenient way to handle user input…

DockerAutomate Docker Deployment with Dokku

Docker is a piece of software to simplify the creation, deployment, and execution of your applications by using containers. Containers…

GraphQLBuild Secure GraphQL API and Deploy to AWS

Building a secure APIs is the main job as a backend developer. But how does it works when using GraphQL? And how to deploy it to AWS Lambda…

ReactBuild Server Rendered React App from Scratch

If you have playing around with React for a while, and you start to planning a production web app, you may need to considering about the…