【文件属性】:
文件名称:node-flux-boilerplate:react + fluxxor + socket.io聊天
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-27 13:45:35
JavaScript
节点通量样板
react + fluxxor + socket.io聊天
ES6(babel)+ ESLint
快递4.13.x
socket.io 1.3.x
React0.14 + Fluxxor 1.7 + Browserify
猫鼬+ connect-mongo
玉
摩卡+超级测试
赫鲁库
特拉维斯CI
要求
Node.js v4.x
MongoDB v3.x
开发
% npm run watch
% PORT=3000 DEBUG=chat* npm start
部署
% export NODE_ENV=production
% npm run build
% PORT=3000 DEBUG=chat* npm start
测试与皮棉
% npm test
部署到Heroku
建立应用程式
% heroku apps:create my-heroku-app-nam
【文件预览】:
node-flux-boilerplate-master
----.eslintrc(400B)
----public()
--------js()
--------css()
----client()
--------views()
--------stores()
--------sockets()
--------actions()
--------app.jsx(708B)
----.travis.yml(600B)
----test()
--------test_helper.es6(46B)
--------test_router.es6(1KB)
----config.json(27B)
----Procfile(32B)
----README.md(1KB)
----app.json(299B)
----.gitignore(51B)
----server()
--------views()
--------models()
--------controllers()
--------sockets()
--------app.es6(2KB)
----bin()
--------cui_client.es6(510B)
----package.json(2KB)