Echo Hub is a real-time communication platform built with the MERN stack. It provides users with secure messaging, personalized chat rooms, and contact management.
- Node.js and npm installed on your machine.
- MongoDB installed locally or accessible remotely.
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
-
Install backend dependencies: cd backend npm install
-
Set up environment variables:
- Create a
.envfile in thebackenddirectory. - Define the following variables:
PORT=5000 MONGODB_URI=YOUR_MONGODB_CONNECTION_STRING JWT_SECRET=YOUR_JWT_SECRET_KEY
- Start the backend server: npm start
-
Navigate back to the project directory: cd ..
-
Install frontend dependencies: cd frontend npm install
-
Start the frontend development server: npm start
-
Access the Echo Hub application in your web browser at
http://localhost:3000.