-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* real time chat app added * real-time-chat-app added * real-time-chat-app added
- Loading branch information
1 parent
097adce
commit 68493b2
Showing
23 changed files
with
2,335 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
src/app/(category)/node/(projects)/real-time-chat-app/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<h1 align='center'><b>💬 Real-Time Chat App 💬</b></h1> | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
<h3 align='center'>Tech Stack Used 🎮</h3> | ||
<!-- enlist all the technologies used to create this project from them (Remove comment using 'ctrl+z' or 'command+z') --> | ||
|
||
<div align='center'> | ||
<img src="https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white" alt="Node.js"/> | ||
<img src="https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge&logo=express&logoColor=%2361DAFB" alt="Express.js"/> | ||
<img src="https://img.shields.io/badge/socket.io-%23121011.svg?style=for-the-badge&logo=socket.io&logoColor=white" alt="Socket.io"/> | ||
<img src="https://img.shields.io/badge/MongoDB-%234ea94b.svg?style=for-the-badge&logo=mongodb&logoColor=white" alt="MongoDB"/> | ||
<img src="https://img.shields.io/badge/jwt-%23000000.svg?style=for-the-badge&logo=json-web-tokens&logoColor=white" alt="JWT"/> | ||
</div> | ||
|
||
 | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
## :zap: Description 📃 | ||
|
||
Real-Time Chat App is a backend infrastructure that allows users to chat with each other in real-time. The app supports authentication and maintains active sessions for logged-in users. **Users** can send and receive messages instantly. It leverages **Socket.io** for real-time communication and **JWT** for secure user authentication. | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
## :zap: How to run it? 🕹️ | ||
|
||
1. Fork the repository. | ||
|
||
2. Clone the project. | ||
|
||
git clone repository-url | ||
|
||
3. Install dependencies. | ||
|
||
npm install | ||
|
||
4. Create and update `.env` file. | ||
|
||
MONGODB_URI = YOUR_MONGODB_URI | ||
PORT = 5001 | ||
JWT_SECRET = YOUR_SECRET | ||
NODE_ENV = development | ||
|
||
5. Run the server. | ||
|
||
npm start | ||
|
||
6. In another terminal, start the client-side of the application (if applicable). | ||
|
||
cd client | ||
npm start | ||
|
||
## :zap: Screenshots 📸 | ||
|
||
### LOGIN (Authentication: Yes) | ||
<img src="./images/login.png"/> | ||
|
||
### CHATROOM (Real-Time Messaging) | ||
<img src="./images/chatroom.png"/> | ||
|
||
--- | ||
|
||
 | ||
|
||
<!-- -------------------------------------------------------------------------------------------------------------- --> | ||
|
||
<h4 align='center'>Developed By <b><i>Harshit</i></b> 👩</h4> | ||
<p align='center'> | ||
<a href='https://www.linkedin.com/in/harshit-saini-b855b6296'> | ||
<img src='https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white' /> | ||
</a> | ||
<a href='https://github.com/Harshit457'> | ||
<img src='https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white' /> | ||
</a> | ||
</p> | ||
|
||
<h4 align='center'>Happy Coding 🧑💻</h4> | ||
|
||
<h3 align="center">Show some ❤️ by 🌟 this repository!</h3> |
Binary file added
BIN
+87.4 KB
src/app/(category)/node/(projects)/real-time-chat-app/images/getmessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.4 KB
src/app/(category)/node/(projects)/real-time-chat-app/images/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+89.2 KB
src/app/(category)/node/(projects)/real-time-chat-app/images/sendmessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+78 KB
src/app/(category)/node/(projects)/real-time-chat-app/images/signup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.