Logo

Everything You Need to Know About Date in JavaScript

Date is weird in JavaScript. It gets on our nerves so much that we reach for libraries (like Date-fns and Moment) the moment (ha!) we need to ...

Jul 05, 2019

The ONE Thing: The Surprisingly Simple Truth Behind Extraordinary Results

The ONE Thing: The Surprisingly Simple Truth Behind Extraordinary Results by Gary Keller with Jay Papasan is nothing short of a pure masterpiece. This book will get you to think about ...

Jun 26, 2019

GatsbyJS Series — SEO basic for blog (Part 6)

In this part, we’ll add some basic SEO information for our blog then adding some configurations to Netlify service so that our blog can work correctly when deploy to production...

Jun 26, 2019

GatsbyJS Series — Create blog details pages dynamically (Part 5)

At the moment, we have done many features for our blog. However, we still can’t view one post details. We’ll complete this feature in this part together. Let’s start!

Jun 23, 2019

GatsbyJS Series — Integrate with CMS headless easy for everyone (Part 4)

Our blog needs a backend to help manage data: content, tags, images, etc. We can build it manually from scratch: select backend framework, database, design database, implement backend logic ...

Jun 22, 2019

GatsbyJS Series — Layout with mocked data (Part 3)

In this part, we’ll lay out our blog with mocked data first. We’ll integrate with Backend/CMS headless later

Jun 21, 2019

A beginner’s guide to Redux with React

This article explains simply what's Redux and why we need to use Redux in our React application

Jun 20, 2019

GatsbyJS Series — Configure useful plugins and organize project (Part 2)

Welcome to part 2 of GatsbyJS series. In this post, we’ll set up some common plugins/libraries that helps a lot for one Gatsby project successfully. Including ...

Jun 20, 2019

GatsbyJS Series — Setup project and deploy site automatically (Part 1)

As a programmer, we always have interesting ideas that we want to share or write them in our blog (beside Medium). . We have so many framework options in order to build and go live our blog...

Jun 19, 2019

Convert flowed-project to TypeScript

First, I do not recommend everyone to move to TypeScript. Who's being happy with Flow, it’s fine. I used Flow for my projects for a while and it’s still a powerful tool for type ...

Jan 23, 2019

Dealing with Timezone and Moment.js handling

You’re a good developer. You and your nice team are producing useful features for your clients. Everything is good till one day, your client sends to your team a report that their users ...

Dec 22, 2018

Dockerize NodeJS application (Part 7 — Final)

Welcome to the final post in our series about Building real APIs with NodeJS. It takes me 2 days at my weekends to research and implement to come up with this post ...

Dec 16, 2018

Writing Unit test for API NodeJS by Jest framework (Part 6)

When I investigated how to write unit tests for API in NodeJS, most of the articles I found that mention how to implement with Mocha, Chai, istanbul, etc…

Dec 12, 2018

API Authentication with Passport (Part 5)

We usually authenticate our APIs for real project. It means that you need to include a token in your request to the server to able to get data back

Dec 12, 2018

Organize project structure (Part 4)

In this section, I won’t go into details of the logic code too much. You can find all these code in projects repository. . Instead, I’ll show the way how we can set up a good project structure ...

Dec 12, 2018

Using Sequelize & MySQL Docker image for development (Part 3)

Setup database and ORM usually makes us a little bit anxious when we move to new tech stack. However, in this section, I will point out the easiest way to make everything ups and runs smoothly

Dec 10, 2018

Setup Node project from scratch (Part 2)

In this post, we’ll list some tools for development and basic configuration for our project

Dec 10, 2018

Building real APIs with NodeJS for beginners (Part 1)

Learning new tech always makes us feel excited, and it will be more exciting if we can apply to our life by building a useful product. In this series, we can go through building APIs with ...

Dec 10, 2018
About Mr Leo·Latest Stories·Contact