This is a web chat application made using react js for front-end and node js for processing data in the backend. The application requires basic login credentials including first name and second name and an avatar for your porfile.
The web application uses socket.io library for secure connection between two or more clients. Using the library, message receiving and sending events are emitted and received onto different clients pages.
The project follows a monorepo architecture to manage multiple related packages under a single repository. This allows us to organize and maintain various components, libraries, and modules efficiently. We use Lerna, a popular tool for managing JavaScript projects with multiple packages, to streamline our development workflow.
Lerna enables one to version packages independently, manage dependencies, and execute commands across packages seamlessly. This architecture promotes code reusability, simplifies dependency management, and enhances overall project scalability. Each package within the monorepo represents a distinct part of the project, contributing to a modular and maintainable codebase.
You can find the client and server folder inside the folder named packages and hence modify it.
Initially a login page is displayed which appears as below :
Here, you need to fill the given details includeing first name , second name, avatar to login successfully. After successfull login, the user is directed to the chatting screen where his/her name and _avatar_ is displayed and the chats received and sent are displayed including the _time_ at which they are sent or received.
React JS - ( Front End )
Socket.io - ( client-server communication )
Node JS - ( Back End )
Express JS - ( Back End )
Tailwind CSS - ( Styling )
Step 1 : Clone the repository using the below git command in the terminal of your code editor.
git clone https://github.com/SahayakSharma/Chat-App.git
Step 2 : Install the node module folder using npm command given below
npm i
Step 3 : Now run the server using the given npm command
npm start
Thank you for considering contributing to my project! Whether you're fixing a bug, implementing a new feature, or improving documentation, your contributions are highly appreciated.
- Fork the repository to your GitHub account.
- Clone the repository to your local machine:
git clone https://github.com/your-username/your-project.git git checkout <branch-name> git checkout -b <branch-name>
git add .
git commit -m "your-message"
git push origin <branch-name>
Create a pull request after you are done with the changes.
Thank you for exploring my web chat application built with React.js and powered by the seamless communication capabilities of Socket.io in conjunction with Node.js on the backend. I am excited about the potential of this project to facilitate real-time conversations in a user-friendly and dynamic environment.
Your contributions are valuable to me, whether it's through bug reports, feature enhancements, or general feedback. Feel free to connect with me through my g-mail : sahayaksharma6@gmail.com. Together, let's make this chat app an even better platform for engaging conversations.

