An open API service indexing awesome lists of open source software.

https://github.com/explooosion/chatroom-with-socketio

a chatroom with node.js express and mongodb
https://github.com/explooosion/chatroom-with-socketio

chatroom ejs express mongodb nodejs socketio tocas-ui

Last synced: about 1 year ago
JSON representation

a chatroom with node.js express and mongodb

Awesome Lists containing this project

README

          

# ChatRoom-With-SocketIO
a chatroom with node.js express and mongodb

demo: [http://room.robby570.tw/](http://218.161.68.185/)

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/explooosion/koa-deploy/blob/master/LICENSE)

## Tech Stack
+ [Node.js Express](https://github.com/expressjs/express)
+ [MongoDB](https://www.mongodb.com/)
+ [Socket.IO](https://socket.io/)
+ [Tocas UI](https://tocas-ui.com/)

## Installation

Install MongoDB, and following the steps.
+ how to install mongodb? [Install MongoDB (zh-tw)](https://dotblogs.com.tw/explooosion/2018/01/21/040728)

Using Reference Files - .env.example,
and rename to .env
+ DB_DATABASE=chat
+ DB_USERNAME
+ DB_PASSWORD

Clone project:

```bash
git clone https://github.com/explooosion/ChatRoom-With-SocketIO.git
```

```bash
cd ChatRoom-With-SocketIO/ChatRoom
```

```bash
npm install
```

```bash
npm start
```

## License
MIT