Skip to content

A chatroom based web application built using Express.js and Socket.IO used for concurrent and room based communication. https://chatapp-wuhy.onrender.com/

License

Notifications You must be signed in to change notification settings

vedantiitkgp/chatApp

 
 

Repository files navigation

chatApp

ChatApp is a project that we started to get familiar with Websockets and their implementation with Socket.IO.

Issues Pull Requests Forks Stars

The chatApp is hosted using Heroku.


Tech Stack

  1. HTML
  2. CSS
  3. Javascript
  4. Express.js
  5. Socket.IO

For guidelines on how to contribute, check out CONTRIBUTING.md

How to set up to contribute to the project

It is recommended that you install and use Git Bash for commands in the following instructions.
In order to succesfully run the project on your local system, you will need to set up MongoDB on your system too. Instructions are given below.

Downloading the Project

  1. Fork the GitHub repository.
    image

  2. Copy and clone your fork's URL using the git clone [URL] command.
    Copy -
    image
    Clone -
    image

  3. Change your directory to reach chatApp folder using cd chatApp

  4. Install the required Node.js modules by running npm install (make sure you have Node.js installed on your system)
    image

Downloading and Installing MongoDB on Windows

  1. Download MongoDB Community server from their site.
    image

  2. Select 'Complete' in their 'choose setup type' section of the installer.
    image

  3. On the next section, select Install MongoDB as a service -> Run service as Network Service user
    image

  4. Install MongoDB compass (GUI Interface for MongoDB)

  5. Install

  6. Create a file named .env in the project directory and write the following line in it -

    MONGO_URL="mongodb://127.0.0.1:27017"
    

    image

  7. Make sure the MongoDB Database Server background process is running (in Task Manager). In case it isn't open services.msc from Windows search/Run and right-click and start the process MongoDB Server.
    image

  8. Finally, run node index.js in your terminal/Git bash. Visit localhost:8080to see the chatApp working.


You are required to sign up with an Email ID/Password (can be anything, a valid Email ID is not required so far). Login with the credentials and you'll land at the ChatApp's main page.


Open the folder in your choice of editor to edit to make changes to the project.

Contributors



Join US

Join the telegram channel --> https://t.me/+9ZHXEOsK75BkZTU1

About

A chatroom based web application built using Express.js and Socket.IO used for concurrent and room based communication. https://chatapp-wuhy.onrender.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.6%
  • HTML 34.8%
  • CSS 21.6%