Chatty 1.0 is a collection of many small real-time chat applications and video-calling applicaitions built with React.js, Node.js, Express, Socket.io, webrtc. It does not have many extensive features but upon adding all these projects we get our very own Chatty 2.0.
- Real-time messaging (chatApp-6)
- Persistent messages with MongoDB (socket-chat)
- Peer-to-peer communication with WebRTC (zoom-webrtc)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- MongoDB
- Clone the repository
git clone https://github.com/yourusername/chatty-2.0.git
- Install NPM packages
npm install
- Create a
.env
file in the root directory of the project and add the following:
DB_CONNECTION=your_mongodb_uri
TOKEN_SECRET=your_jwt_secret
- Start the server
npm run start
To run tests, use the following command:
npm run test