nod fake api code example Example 1: json server Click to copynpm install -g json-server Example 2: db.json Click to copyjson-server --watch db.json