Skip to content

A Node.js SFB ( Separation of Front and Back ends ) project for building node server fastly and simply, based on koa 2.

Notifications You must be signed in to change notification settings

Dragon-Rider/node-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

node-server

A Node.js SFB ( Separation of Front and Back ends ) project for building node server fastly and simply, based on koa 2.

Install

$ git clone https://github.com/Dragon-Rider/node-server.git $ cd ./node-server $ npm install $ npm start 

Local Running

http://localhost:8080/ http://localhost:8080/page http://localhost:8080/ajax/userInfo 

Use PM2 To Start Up

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 

Extended Articles

License

MIT

About

A Node.js SFB ( Separation of Front and Back ends ) project for building node server fastly and simply, based on koa 2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published