Skip to content

Vishal101022/group_chat_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Group-chat-app

❔ what it does

group chat app is a real-time messaging platform built using Socket.io. It allows users to join chat rooms, send and receive messages instantly, and engage in group discussions. The backend is developed using Node.js and Express, while the frontend is created using HTML, CSS, and JavaScript. Socket.io enables bi-directional communication between the server and clients, ensuring real-time message delivery. The app also supports user authentication and displays a list of users currently active in the chat. With its seamless real-time communication, users can have interactive and immediate conversations.

Screenshot 2024-11-18 220010

📖 things i learned

  1. Implementing the MVC (Model-View-Controller) pattern
  2. Creating dynamic routes
  3. Using JWT for authentication
  4. Integrating Brevo email service for password recovery
  5. Hashing passwords with bcrypt
  6. Working with Sequelize ORM
  7. Real time connection using socket.io
  8. How important pagination is
  9. Implementing transactions to maintain consistency in the database
  10. Utilized AWS S3 for file storage

🛠️ how to run

Prerequisites

  1. Node version 18.x.x
  2. generate JWT secret key
  3. create razorpay account
  4. create Brevo SMPT account
  5. create AWS account and get s3

Cloning the repository

git clone https://github.com/Vishal101022/group_chat_app.git

Setup .env file

JWT_SECRET = 
DB_NAME = 
DB_USER = 
DB_PASS = 
DB_HOST = "localhost"
PORT = 
SMPT_API_KEY = 
AWS_BUCKET_NAME = 
AWS_ACCESS_KEY = 
AWS_SECRET_ACCESS_KEY = 

Install packages

npm i

Start the app

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published