Example for RESTful with Express (NodeJS)

Hot reload for dev with nodemon

yarn add nodemon --dev

Open package.json and add the following dev option in scripts

"scripts": {
    "dev": "nodemon ./bin/www"
}

To run as hot reload dev

yarn dev