Express 中文文档 Express 中文文档
指南
GitHub (opens new window)
指南
GitHub (opens new window)
  • 快速入门

    • 安装
    • 你好世界
    • Express 生成器
    • 基本路由
    • 静态文件
    • 更多示例
    • 常见问题
  • 使用指南

  • express()
  • 应用
  • 请求
  • 响应
  • 路由

Express-chat


Express chat is a node.js multi-server chat application. Messages are sent with Socket-IO and saved in MongoDB.

Requirements


Node.js >= v0.10.0
MongoDB and Redis installed and running.

Installation


git clone git://github.com/Tug/express-chat.git
cd express-chat
npm install .

Configuring


The config.json file will overwrite properties definied in config.js. Edit it to set your configuration properties such as database host, port, username, password, etc.

Running


node app or
node app myconfig.js
Last Updated: 2023-05-23 11:11:51