zeanium-node-demo
Introduction
This is the back-end demo for zeanium-node, you can very easy develop and deploy your project using zeanium-node. Every project can be the plugin in workspace, every time if you don't need it, you can delete the plugin folder.
This is very important, you will experience the most important function what is dynamic reload the newly code when the code has changed in development mode and deployment mode. You just need waiting three second, the system will reload changed file.
Get Start
If you has install node
and npm
, you can do below step.
Begin your development.
Preparation environment
npm install //install dependencies
Start zn server
zn run config:zn.workspace.config.js
Show output:
2017-04-30 00:13:37.422 [INFO] [Scanner.js:24:20] [ Begin ] Scanning Path:/usr/local/lib/node_modules/zeanium-node/src/net/http.server/www/2017-04-30 00:13:37.432 [INFO] [Scanner.js:64:24] Loading Application:/usr/local/lib/node_modules/zeanium-node/src/net/http.server/www/__zn__2017-04-30 00:13:37.503 [INFO] [HttpServerContext.js:77:20] Register Project: __zn__2017-04-30 00:13:37.503 [INFO] [HttpServerContext.js:110:24] [ End] Scanning Path:/usr/local/lib/node_modules/zeanium-node/src/net/http.server/www/
Access back-end api
Open link http://127.0.0.1:8181/
Every project api list in project path {$project}/apis, such as i want to know what apis for demo, you can open link http://127.0.0.1:8181/demo/apis.