hero image
I am

Blog Posts

Liam30 Oct, 2018
Blogpost Cover

Make REST api to partial response, just like GraphQL

The story begins in one day, I want to make NodeJS API endpoints like

GET /api/blogposts?fields=author{name,avatar},title,detail

and it should return me

    "author": {
        "name": "Liam Ng",
        "avatar": "https://someurl",
    "title": "blogpost title",
    "detail": "blogpost detail"
Liam18 Jul, 2018
Blogpost Cover

Angular is great again - making SSR app with high performance in google lighthouse

While exploring the option on making a blog with content management system, I give a try on making use of koa2 + Postgres + Angular and the result turns out quite good.

Using google lighthouse to test it, resulted in 91/100 performance, 100/100 progressive web app, 100/100 accessibility, 100/100 best practices, 100/100 SEO, with the main bundle size in 775.7KB.

Liam1 Feb, 2018

Rust For Web Development Part 1

With the asynchronous I/O libraries of Rust is mostly ready, Rust can serve web traffic without being I/O bound. However, the only downside is that framework is not mature yet.

Edit on year Jun 19, 2018

Project has been discontinued due to Rust still does not support Async/Await which i think is crucial for web development

Liam5 Feb, 2017

Introduce FawkesJs

It has been awhile since I have been inactive in open-source world. Although nowadays trend is in VR, AI and iOT, API development is still needed.

Edit on year Jun 19, 2018

Project has been discontinued due to Koa2 + Graphql basically can do what I plan to do

Liam9 Jul, 2016
Blogpost Cover

Loopback for NodeJS

In a nutshell, loopback is a NodeJS framework for building rest API server

Edit on year Jun 19, 2018

Currently favor Koa2 more for NodeJS

View More