-
Create a new handler, we can use the gulp generator command
gulp add-handler --name test
. This will create a filehandlers/test/test.handler.js
. You need to import this manually inapp/routes.js
-
Remove a handler, we can use the gulp generator command
gulp remove-handler --name test
. This will remove the folderhandlers/test
and also will remove into thehandlers/index.js
. This will not be remove the inapp/routes.js
. .
For production -> https://github.com/babel/example-node-server