server side rest api with fake data nodejs github code example Example 1: json server json-server --watch db.json Example 2: json server npm install -g json-server