Fatih Kalifa logo

Fatih Kalifa

Software engineering. Photography. Personal opinions.

Latest Posts

React Router and Flash State

Published on Oct 072 min read
In early days of web, I use flash state a lot to send message after redirection. It's easy to do it using server side code, because we can use session & cookie. Now that we use SPA everywhere, navigation happen in client-side using browser history API. If you're using

Easy Authentication in Express using Passport

Published on Sep 234 min read
Auth0 was the authentication provider I chose for my blog dashboard. They're simple and easy to set up, but I mainly used them because I haven't had the time to build one myself. Few months after my blog went live, I begin rewriting authentication logic to the blog API itself.

From Express and React to Next

Published on Feb 057 min read
This weekend, I finally got some time to work on my blog again after so long. I've been waiting Next.js to support custom server handler for some time and they finally did in v2. My blog frontend is originally a simple Express setup with React as the component model.

Promise: The Less Interesting Part

Published on Feb 023 min read
ES2015 has already became mainstream and it brings many features to JavaScript language. One of the notable features is Promise for handing asynchronous tasks. While Promise is definitely useful feature, I still see some people confused about the semantic of promise resolution and error handling. Here's a few examples that

Prevent Express from Crashing because of MongoDB Connection Problem

Published on Dec 18, 20163 min read
This weekend, I was just checking Google Webmaster Tool for my blog when I found out that the site property is missing. The problem was that Google failed to verify my site because there was no Google Analytics tracking code available (I choose GA tracking method to verify the site

Designing New Syntax Theme for Atom

Published on Dec 14, 20165 min read
As a software engineer, I spent most of my time in text editor and terminal. I use Hyper for my terminal app and Atom as the text editor. For quite some time, I used Atom Material UI theme and One Dark syntax theme in Atom. Then I found someone

Github Gist inside Rich Text Editor

Published on Nov 08, 20163 min read
Building a rich text editor with syntax highlighting is not a simple task. There's a few library for highlighting a code, but integrating it inside live editor needs more work and prone to performance problem Another way to embed code is using Github Gist. It automatically highlight your code for