Skip to content

Latest commit

 

History

History
161 lines (102 loc) · 5 KB

File metadata and controls

161 lines (102 loc) · 5 KB

Real Talk Online Chat Platform

error

RealTalk - Real Time Video Chat Application

RealTalk is a communications platform that allows users to connect with video, audio and chat.

The power of collaboration is that it can turn a group of individuals into a team empowered to achieve great things RealTalk is a type of application that enables users to share their computer screens with others in real-time over the internet. It includes features that allows user to chat and video call with each other.

Tech Stack

Client: HTML | CSS | Javascript | Bootsrap | External CSS library

Server: Node.js | Express.js | MongoDB | WebRTC | PeerJS library | Socket.io | Bcrypt | PassPort | cors | Redis | JWT

github: To maintain repository and collabration and version control.

VS Code: To write HTML,CSS and JavaScript code.

Microsoft Edge,Google Chrome & Mozilla Firefox: To check the functionality and run the code.

Frontend Part

  • Home page
  • Login/Signup
  • Dashboard
  • Create Room
  • Join Room
  • Real time Message

Backend Part

  • Authentication using JWT
  • implementation using Socket.io
  • fully functional Video and Audio icons

Database

  • MongoDB
  • Redis

Features

  • Chatting
  • Video Calling

Application Guide to use features

To use {Video calling} feature -->

  • First Create room
  • User can join the call by using the room ID
  • To end the call click on hang on button

To use {Chat} feature -->

  • First Create room
  • User can join the room using room ID after login
  • Time is displayed of message
  • Notifies User info

Examples

Creating connection and accessing user media .

const express = require('express');
const { client } = require('../db');
const RoomRouter = express.Router()
    RoomRouter.post("/join", async (req, res) => {
    try {
        const { roomID, type } = req.body
        let isRoomExist = await client.exists(`${roomID}`)
        console.log(isRoomExist);

        if (isRoomExist) {
            const DataBaseType = await client.get(`${roomID}`)
            console.log(DataBaseType);
            if (DataBaseType == type) {
                res.status(201).send({ "ok": true, "msg": "Room Joined Succesfully" })

            } else {
                res.send({ "ok": false, "msg": `${type} Room Doesn't Exist` });
            }
        } else {
            res.send({ "ok": false, "msg": `Room Doesn't Exist` });

        }
    } catch (error) {
        console.log(error);
        res.status(401).send({ "ok": false, "msg": error.message })

    }
})

Group Members Info

  1. Shaikh Shahbaz(Team Lead)

  2. Aman Kashyap

  3. MD Haroon Hussain

GitHub: https://github.com/shaikhshahbaz4022/chummy-run-6992


Home Page

Screenshot 2023-07-21 214818 Screenshot 2023-07-21 214837 Screenshot 2023-07-21 214854 Screenshot 2023-07-21 214918

Footer Page

image

Signing Page

Screenshot (722)

Login Page

Screenshot (145)

Dashboard Page

Screenshot 2023-07-21 215731

Room Platform

Screenshot (208)

Video Chat Platform

Screenshot (713)

Chat Platform

Screenshot (710)