Skip to content

Ali-Beiki/express-chat-room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" 
},

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors