/CheatChat

updated version of the project for deployment

Primary LanguageJavaScript

Cheat-Chat App

A Full Stack Chatting App with OTP based(passwordless) authentication and uses Socket.io for real time communication.

An application requires passwordless authentication backend module.

Link for authentication Module: https://github.com/Gopi1422/SMS-based-Passwordless-Authentication.git

Tech Stack

Client: React JS

Server: Node JS, Express JS

Database: Mongo DB

Run Locally

1. Start Authentication Module:

Clone the Passwordless Authentication Project

  git clone https://github.com/Gopi1422/SMS-based-Passwordless-Authentication.git

Go to the project directory

  cd SMS-based-Passwordless-Authentication

Install dependencies

  npm install

Start the server

  npm start

2. Start Main(Chatroom) Module:

Clone the project

  git clone https://github.com/Gopi1422/CheatChat.git

Go to the project directory

  cd CheatChat

Install dependencies

  npm install
  cd frontend/
  npm install

Start the server

  npm run start

Start the Client

  //open new terminal
  cd frontend
  npm start

3. Start Nginx:

Download latest stable version of Nginx from http://nginx.org/en/download.html. Here I have downloaded nginx-1.22.0.

Unzip the folder and go to the nginx-1.22.0 directory and start the cmd in the same location.

Go to the /conf directory and replace nginx.conf file with file: nginx.conf

To Start Nginx, run below command in cmd

start nginx

4. Run Project in Browser:

Open any browser and run project on http://localhost

Features

Authenticaton

Real Time Chatting with Typing indicators

One to One chat

Search Users

Create Group Chats

Add or Remove users from group

View Other user Profile