egg+react 的在线协作
a simple chat room application.
font- mobx+react+react-routerv4+socket.io+styled-components+flow
test
account:123456789@qq.com password:123123123
account:12345678@qq.com password:123123123
ensure node eng > 8.9
redis and mango db are installed
git clone https://github.com/Sunshine168/co-example-server.git
and run
npm install
or yarn
create count schema in mongodb ,and insert
{
_id: 'room',
sequenceValue: 1000,
}
or in dev mode ,use postman or other utils to post
eg: ```http://localhost:7001/helper/ini-counter
npm run dev // or yarn dev
default run in 7001 port
npm run start --env=prod //or yarn start --env=prod
default run in 7001 port