Change the current directory to iChat's directory by using the following command :
cd ichat_app
Install the dependencies in this folder using the below command :
npm install
Now change the current directory to server directory
cd server
Run npm install to install server dependencies
Run npm run dev in the server to start the development server
Now, go back to the main folder in git bash using the cd .. command.
Either you can double click on the index.js file to start the website, or you can also download live-server extension of VS code and run the index.js file using it.
A instance of the application will appear in the browser.
Copy the url from the address bar and open another instance in another tab or in incognito or on another browser.
Contribution
Fork the repository.
Clone the forked repository to your local machine by giving the following command in the terminal :