Skip to content

Latest commit

 

History

History
169 lines (108 loc) · 4.17 KB

README.md

File metadata and controls

169 lines (108 loc) · 4.17 KB

Chat_App_Doogle

Description of the Project

This chat application DOOGLE helps one effortlessly communicate with people anywhere in the world by sending and receiving messages in real time.This project provides the instant communication functionality between users. The users have the capability to do one to one communication and also they can communicate with in groupwhich is the most fascinating feature of this app. As a cherry on the top, the User Authentication feature of this project boosts up its reliability of the users on DOOGLE.

Deployment

To deploy this project after cloning, run

  node backend/server.js

Otherwise just click

DOOGLE

Technologies Used

Express version 4.18.2
React version 18.2.0
Mongoose version 6.7.2
Nodemon version 2.0.20
Socket.io version 4.5.4

API Reference

Register User

  POST /api/user/
Parameter Type Description
User details json Takes the User data to the Database

To login

  GET /api/user/login
Parameter Type Description
User Details json fetch the User Details from the Database

Searching the Doogle Registered Users

  GET /api/user?search=
Parameter Type Description
User Id json Checks for the Id in the Database of Doogle

Fetching Chats of a User

  GET /api/chat
Parameter Type Description
User chat json It fetches the whole chat of a User

Accessing Chats of a User

  GET /api/chat
Parameter Type Description
User chat json It helps to get access to the chat of the User

To create a group

  POST /api/chat
Parameter Type Description
Users and Group name json It helps to create the group in the app

To rename the name of the group

  PUT /api/chat
Parameter Type Description
Chat Id and Chat name json To rename the group name

To send a message

  POST /api/message 
Parameter Type Description
content of the message json Sending of the messages

To receive the messsage

  GET /api/message:chatId
Type Description
json fetching all messages of the selected chat

Features

  • Real time messeges
  • Sign up and Sign in for users
  • Fullscreen mode
  • Push Notifications
  • Responsive layout
  • Group Chat feature to form community

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGO_URI

JWT_SECRET

NODE_ENV

Tech Stack

Client: React, Chakra UI, Socket.io-client

Server: Node, Express, Socket.io

Screenshots

The Sign up page

Chat-App-1.jpg

The login page

Chat-app-2.jpg

Chatting Interface

Chat-App-4.jpg

Acknowledgements