Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 740 Bytes

File metadata and controls

52 lines (39 loc) · 740 Bytes

chat room

description

A chat room where users talk to each other user ,I used WebSockets in this project and used Redis to store users messages

prerequisite

  • Node JS
  • Redis

Config

Run Redis

Edit config file

Setting the config file in app/config/default.json

{
    "name": "chat room",//name project
    "port": 80,// port
    "icon":"/images/icon.png", // icon path
    "title":"Chat Room" // title page
}

Start

Instal Package

 npm i

Run

 npm start

Debug Mode edit line in package.json

// normal state
"scripts": {
   
     "start": "set nodemon index.js" 
},


// debug mode
"scripts": {
   
    "start": "set DEBUG=app:debug && nodemon index.js" 
},