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.
- Real-time chat functionality powered by Socket.IO
- User authentication with JWT tokens
- Secure password storage with bcrypt.js encryption
- Email: test
- Password: Test@123
screen-capture.2.webm
- Clone the repository:
git clone https://github.com/yourusername/chitchat.git
- Navigate to the project directory:
cd chitchat
- Install dependencies:
npm install
- 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
- Start the development server:
npm start
- Open your browser and navigate to http://localhost:3000 to view the application.
- Register a new account or use the provided test account credentials.
- Start chatting with other users in real-time.
- MongoDB
- Express.js
- React.js
- Node.js
- Socket.IO
- JWT (JSON Web Tokens)
- bcrypt.js
Contributions are always welcome!
Please adhere to this project's code of conduct
.