Chatopia

A real-time text chat platform

You can check the live site here

Overview

Welcome to Chatopia – a project designed for me to learn the MERN stack (MongoDB, Express.js, React.js, Node.js). This application serves as a practical learning experience, allowing me to delve into the world of real-time chat applications while mastering the core technologies of the MERN stack.

Features

Tech Stack

Getting Started

  1. Clone the Repository:

    git clone https://github.com/MonalBarse/chat-app.git
    
    
  2. Install Dependencies:

    cd Chatopia
    npm install
    cd frontend
    npm install
    

    3 Run the Application:

    cd Chatopia/frontend
    npm run dev
    

    This will start the frontend

  3. Run the Backend:

    cd Chatopia
    npm start
    

    This will start the backend

    (You might not have .env file in the root directory, so you can create one and add the following code)

        PORT = 3000
        MONGO_URI=your_mongo_uri
        JWT_SECRET=your_secret_key
        NODE_ENV=production
    
  4. Open the Application: Open http://localhost:5713 to view it in the browser.

Note:

Reporting issues Adding new features Improving existing code