Skip to content

HarshitRV/ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A basic chat app built with Node, Express and Socket.IO

Setting up the project locally.

  1. Install the dependencies:
    npm install
  1. Create a configs folder and add the configs :
    mkdir configs
    touch configs/dev.env
    touch configs/test.env
  1. Specify the environment in the dev.env and test.env file:
    PORT=3000
  1. To run the app in the development mode:
    npm run devstart
  1. To run the app in the test mode:
    npm run test