/demo-egg-socket.io

demo for egg-socket.io

Primary LanguageJavaScript

demo-egg-socket.io

Demo for egg-socket.io

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Start/Stop Database

docker-compose -f docker-compose.dev.yml up -d
docker-compose -f docker-compose.dev.yml down

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.