MYAPP Run $ npm install Start dev serve $ npm start Start dev serve in debug mode $ DEBUG=myapp:* npm start goto http://localhost:3000/api/products to see the api response Generated it using express $ express --view=pug myapp