Top

Meetzy documentation

Chat, collaborate, and create teams effortlessly with Meetzy

Welcome to Meetzy!

Getting Started

TThese are the steps required to set up the chat application manually on any environment (Local System or Live Server).

Steps:

  • - MySQL Installation
  • - Node.js Installation

MySQL Setup

  • - Download & Install MySQL Server:

  • - Configure MySQL Server

    • During setup:

      • Choose Standalone MySQL Server

      • Set root password

      • Choose Open Firewall port 3306 (recommended)

      • Complete installation

  • - Open MySQL Shell / CLI

    • Open Command Prompt and run:

      • mysql -u root -p

      Enter your root password.

  • - Create Production Database

      • CREATE DATABASE chatapp_production CHARACTER SET utf8mb4 COLLATE
        utf8mb4_unicode_ci;
  • - Create a Dedicated Database User

      • CREATE USER 'chatuser'@'localhost' IDENTIFIED BY
        'StrongPassword123!';
      • GRANT ALL PRIVILEGES ON chatapp_production.* TO
        'chatuser'@'localhost';
      • FLUSH PRIVILEGES;

Node.JS Setup

  • - Download & Install Node.js (LTS)

    • Node.JS
    • Choose:

      • - Windows Installer (.msi):

      • Install with default options

      • Ensure "Add to PATH" is checked

  • - Verify Installation

    • Open Command Prompt:

      • node -v
      • npm -v

      You should see versions (e.g., v18.x.x).

  • - Install PM2 (Process Manager for Production)

    • PM2 keeps your app alive even after crashes or server restarts.

      • npm install pm2 -g

      Verify:

      • pm2 -v

Getting Started

These are the steps required to set up the chat application manually on any environment

Steps:

  • - MySQL Installation
  • - Node.js Installation

MySQL Setup

  • - Install MySQL on macOS

    Download MySQL DMG Installer:

    • https://dev.mysql.com/downloads/installer/
    • Choose:

      • - macOS 64-bit DMG Archive

      • - Install using default settings

      During installation:

      • Set root password

        Enable Start MySQL automatically

        Installer also adds MySQL Preference Pane to System Settings

  • - Start MySQL Service

    • Check status:

      • brew services list
    • Start MySQL manually (if needed):

      • sudo /usr/local/mysql/support-files/mysql.server start
    • Stop:

      • sudo /usr/local/mysql/support-files/mysql.server stop
    • Restart:

      • sudo /usr/local/mysql/support-files/mysql.server restart
  • - Verify MySQL Installation

    • Check version:

      • mysql --version
  • - Login to MySQL Shell

      • mysql -u root -p

      Enter your root password.

  • - Create Production Database

      • CREATE DATABASE chatapp_production
      • CHARACTER SET utf8mb4
      • COLLATE utf8mb4_unicode_ci;
  • - Create Database User (Production-Safe)

    Local access only:

      • CREATE USER 'chatuser'@'localhost' IDENTIFIED BY
        'StrongPassword123!';
      • GRANT ALL PRIVILEGES ON chatapp.*
        TO 'chatuser'@'localhost';
      • FLUSH PRIVILEGES;

Node.JS Setup

  • - Download & Install Node.js (LTS)

    • Node.JS
    • You will see two versions:

      • - LTS (Recommended for most users)

      • - Current (Latest features)

      • Choose the LTS version for maximum stability.

  • - Download macOS Installer (.pkg)

    Click the button that says:

    • “macOS Installer (.pkg)”

    This will download a file similar to:

    node-v18.x.x.pkg

  • - Run the Installer

    • Double-click the downloaded .pkg file.

      Follow the standard installation steps:

      • - Click Continue

      • - Accept the License

      • - Choose Install for all users

      • - Click Install

      • - Click Install

      • - Authenticate with your macOS password

      • - Installer completes the setup

  • - Verify Installation

    After installation, open Terminal:

    Run the following commands:

    • node -v
    • npm -v