Chatify is a minimalist and modern chat application designed to facilitate real-time communication among users. Built using the MERN stack (MongoDB, Express.js, React.js, Node.js) and enhanced with WebSocket support for live updates, Chatify provides an intuitive and engaging chat experience.
- User Authentication: Secure login and signup features using JWT.
- Real-time Messaging: Seamless real-time communication with WebSocket integration.
- Room Management: Create, join, and manage chat rooms with ease.
- Message History: Persistent chat history with support for viewing past messages.
To get started with Chatify, follow these steps:
-
Clone the Repository
git clone https://github.com/yourusername/Chatify.git
-
Navigate to the Project Directory
cd Chatify -
Install the Required Packages
For the backend:
cd server npm installFor the frontend:
cd client npm install -
Set Up the Environment Variables
Create a
.envfile in theserverdirectory and add the following environment variables:PORT=3000 DATABASE_URL=your_mongodb_url ACCESS_TOKEN_SECRET=your_jwt_secret
-
Start the Development Server
For the backend:
npm start
For the frontend:
npm run dev
-
Access the Application
Open
http://localhost:5173in your browser to access Chatify.