Skip to content

ARNOB663/MERN-Chat-App

Repository files navigation

Chat App

This is a MERN stack chat application.

Prerequisites

  • Node.js
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/chat-app.git
    cd chat-app
  2. Install backend dependencies:

    cd backend
    npm install
  3. Install frontend dependencies:

    cd ../frontend
    npm install

Running the Project

  1. Start the backend server:

    cd backend
    npm run server
  2. Start the frontend development server:

    cd ../frontend
    npm run dev

Environment Variables

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published