| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
English | 简体中文
A Node.js SFB ( Separation of Front and Back ends ) project for building node server fastly and simply, based on koa 2.
$ git clone https://github.com/Dragon-Rider/node-server.git
$ cd ./node-server
$ npm install
$ npm start http://localhost:8080/ http://localhost:8080/page http://localhost:8080/ajax/userInfo
app.json is the config for PM2. And pm2-logrotate can collect and rotate the logs everyday.
$ npm install pm2 -g $ pm2 install pm2-logrotate $ npm run start-pm2
MIT
| Back | FazBrowse Home | New Git URL |