Skip to content

web platform to manage api, support mock service and api test

Notifications You must be signed in to change notification settings

LianjiaTech/newsboy

Repository files navigation

ENV

  • Node.js (7.6+)
  • MongoDB (2.6+)

Nginx in dev mode

Don't forget to enable websocket proxy if you use nginx when deploy this service

location /
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

install

git clone git@github.com:LianjiaTech/newsboy.git api-weapon
# custom config in ./config.json
cd api-weapon
# install dependencies
npm install
npm i cross-env nodemon webpack-cli -g
# init mongodb and admin account, also can be set in config.json
npm run install-server
# build client
npm run build-client 
# start server,visit 127.0.0.1:{custom port in config.json }
node server/app.js 

init admin account email: prod@admin.com pass: adminPass

About

web platform to manage api, support mock service and api test

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages