Skip to content

Simple P2P Chat is a simple, lightweight app for users to text each other from their mobiles. This chat application demonstrates a simple solution for the most basic chat requirements like google authentication, read receipts, unread message counts, online status etc.

Notifications You must be signed in to change notification settings

veerreshr/simple-p2p-chat

Repository files navigation

simple-p2p-chat-banner

Simple P2P Chat

Simple P2P Chat is a simple, lightweight app for users to text each other from their mobiles. This chat application demonstrates a simple solution for the most basic chat requirements like google authentication, read receipts, unread message counts, online status etc.

Tech Stack

Client: React Js (Vite), easy-peasy ( for state management ), Material UI

Server: Firebase Realtime Database and Firebase Hosting

Screenshots

Home Page :

image

Google Authentication :

Screenshot 2021-12-22 043822

Chats Screen :

Screenshot 2021-12-22 042119

Features

  • Home/Chats/Login/Not-Found/Require-Auth Pages
  • Google Authentication
  • Online status
  • Read Receipts ( single tick for sent , double tick for recieved, blue tick for seen)
  • Unread Message Count

Run Locally

Clone the project

  git clone https://github.com/veerreshr/simple-p2p-chat.git

Go to the project directory

  cd simple-p2p-chat

Install dependencies

  npm install

Start the server

  npm run dev

Roadmap

  • Strong Data Integrity Rules - Firebase Rules

  • Better Optimization of Firebase calls ( currently there are few redundant calls )

  • Cleaning the code

  • Testing the code

License

MIT

Feedback

If you have any feedback, please reach out to me at veerreshr@gmail.com

About

Simple P2P Chat is a simple, lightweight app for users to text each other from their mobiles. This chat application demonstrates a simple solution for the most basic chat requirements like google authentication, read receipts, unread message counts, online status etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published