Blog Posts - nodejs

Liam
Oct 30, 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"
}]
View
Liam
Jul 18, 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.

View
Liam
Feb 05, 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

View
Liam
Jul 09, 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
Liam
Jun 27, 2015
Blogpost Cover

Real time chat with Mongodb Express AngularJS Node.js

What I am going to write about is a real time chat proof of concept which I have done in 2014. It is now at Github. A demo can be found at http://nodejslim.herokuapp.com/

View