If you want to run a local Mock REST API using NodeJS use NPM.
git clone https://github.com/PHS4/extjs-grid-examples.git
cd extjs-grid-examples/
npm install
npm start
Then run any of the example below. You can see edits are made to the db.json file.