(Original post published at: http://blog.techbridge.cc/2016/04/23/fast-restful-nodejs-api-backend/)
Introduction
Some websites today use the Single Page Application approach, where the backend only provides APIs for the frontend to fetch data, achieving complete separation of the frontend and backend. There are many choices for the frontend, you can use Angular
, Ember.js
, or React + Redux
. As for the backend API, it must conform to a fixed format to make it easier for frontend developers to fetch data. And this “fixed format” is most commonly known as our focus today: RESTful
.