Pro Chat is a real-time messaging web application that allows users to chat with each other instantly. It is built using Node.js, Express, Socket.io, and React. Check our langding page https://team.stormx.software
- Real-time messaging
- Multiple rooms support
- User authentication and registration
- User profiles with avatars
- Notification sounds
- Online status indicators
To run Pro Chat locally, follow these steps:
- Clone the repository:
git clone https://github.com/Tuanpluss02/Pro-Chat.git
- Install dependencies:
npm install
- Create a
.env
file and set the following environment variables:MONGODB_URI
: the URI for your MongoDB databaseJWT_SECRET
: a secret key for JSON Web TokensJWT_EXPIRATION
: the duration for which a JSON Web Token is valid (e.g.1d
for one day)PORT
: the port number on which the server will run (default is 5000)
- Start the server:
npm run start-server
- In a separate terminal, start the client:
npm run start-client
- Open
http://localhost:3000
in your browser to use the app
Contributions are always welcome! Please read the contributing guidelines before getting started.
This project is licensed under the MIT License. ¯_(ツ)_/¯