This is a MERN stack chat application.
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/your-username/chat-app.git cd chat-app -
Install backend dependencies:
cd backend npm install -
Install frontend dependencies:
cd ../frontend npm install
-
Start the backend server:
cd backend npm run server -
Start the frontend development server:
cd ../frontend npm run dev
Make sure to create a .env file in the root directory with the following content:
PORT=3000
MONGO_DB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
NODE_ENV=development