Skip to content

harshchandwani/ChitChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChitChat

ChitChat is a full-stack chat application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It provides seamless real-time communication between users and ensures security using JWT tokens and bcrypt.js for encryption.

Features

  • Real-time chat functionality powered by Socket.IO
  • User authentication with JWT tokens
  • Secure password storage with bcrypt.js encryption

Test Account

  • Email: test
  • Password: Test@123

Screenshots

screen-capture.2.webm

Demo

Screenshot 2024-02-27 190908

Screenshot 2024-02-27 190854

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/chitchat.git
  1. Navigate to the project directory:
cd chitchat
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add the following environment variables:
PORT=3000
MONGODB_URI=mongodb://localhost:27017/chitchat
JWT_SECRET=your_jwt_secret
  1. Start the development server:
npm start
  1. Open your browser and navigate to http://localhost:3000 to view the application.

Usage

  • Register a new account or use the provided test account credentials.
  • Start chatting with other users in real-time.

Technologies Used

  • MongoDB
  • Express.js
  • React.js
  • Node.js
  • Socket.IO
  • JWT (JSON Web Tokens)
  • bcrypt.js

Contributing

Contributions are always welcome!

Please adhere to this project's code of conduct.

License

MIT