react develop with fake rest api http memory code example Example 1: json server json-server --watch db.json Example 2: json server npm install -g json-server