Blog Posts - nodejs

Placeholder image

Make REST api to partial response, just like GraphQL

30 Oct, 2018

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"
}]

Make REST api to partial response, just like GraphQL

30 Oct, 2018

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"
}]
Placeholder image

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

18 Jul, 2018

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.

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

18 Jul, 2018

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.

Introduce FawkesJs

05 Feb, 2017

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

Introduce FawkesJs

05 Feb, 2017

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

Placeholder image

Loopback for NodeJS

09 Jul, 2016

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

Loopback for NodeJS

09 Jul, 2016

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

Placeholder image

Real time chat with Mongodb Express AngularJS Node.js

27 Jun, 2015

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/

Real time chat with Mongodb Express AngularJS Node.js

27 Jun, 2015

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/