Skip to content

πŸ’» A chatting website where user can connect with other users and chat with them.βœ’Built with MERN and Socket.io

Notifications You must be signed in to change notification settings

pratikpz18/Ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

 Project Logo

Ping

A chatting website where user can connect with other users and chat with them

Instruction :-

1.Clone the repository git clone https://github.com/pratikpz18/Ping.git 2.Install dependecies npm install 3.Change Directory cd backend 4.Run the application npm run dev 5.Open browser and type http://localhost:3000/

⛏️ Built Using

MERN

  • MongoDB - NoSQL Database
  • Express - Backend NodeJs Framework
  • ReactJS-Frontend Javascript Library
  • NodeJs - Server Environment
  • Socket.io-Framework for real-time, bidirectional and event-based communication.
  • BootStrap 4 - Frontend CSS Library

Screenshots

-Landing Landing Page

  • Login

Login Page

- Signup

Registration Page

- Dashboard

Dashboard Page

- SearchModal

SearchModal Page

- Profile

Profile Page

- EditProfile

EditProfile Page

- Messages 1

Messages Page

- Messages 2

Messages Page

Installing

  • NodeJS - Install NodeJS

    dependecies
        "bcryptjs": "^2.4.3",
        "body-parser": "^1.19.0",
        "concurrently": "^5.3.0",
        "cors": "^2.8.5",
        "express": "^4.17.1",
        "express-session": "^1.17.1",
        "express-validator": "^6.9.2",
        "http": "0.0.1-security",
        "jsonwebtoken": "^8.5.1",
        "mongoose": "^5.11.12",
        "socket.io": "^3.1.1"
    

Features:

=> Registration and Login 

    β€’ User need to register themselves and then they can login into the system. 
    β€’ Once user is logged in,user can use different features.

=> Messages section:   

   β€’ Messages are send to cliend and recieved realtime.

=> Profile Section: 

    β€’ Users information like username,bio,email,id,Friends Count.

=> Add Friends:

    β€’ User can add friend. If user is friend of other user, then that user is displayed in Messages SECTION.

=> Search Bar: 

   β€’ User can search for other users. 

=> Edit Profile :

   β€’ User can change his/her username and update his/her bio.

Functionality

❖ Registration
❖ Login
❖ Update your profile details 
❖ Send Messages
❖ Visit Other Users Profile
❖ Shows count of Friends
❖ You can search a particular user
❖ Suggestion for Adding Friends
❖ If not logged in redirected to login page
❖ Messages vanishes when users disconnects.
❖ User data after login is saved to localstorage when he/she logouts localstorage is removed

Folder Structure

ping
β”‚
β”œβ”€β”€backend
β”‚   β”œβ”€β”€ config
β”‚   β”œβ”€β”€ controllers
β”‚   β”œβ”€β”€ middlewares
β”‚   β”œβ”€β”€ models
β”‚   β”œβ”€β”€ node_modules
β”‚   β”œβ”€β”€ routes
β”‚   β”œβ”€β”€ .gitignore
β”‚   β”œβ”€β”€ node_modules
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ README.md
β”œβ”€β”€frontend
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ node_modules
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ .gitignore
β”‚   β”œβ”€β”€ public
β”‚   β”‚   β”œβ”€β”€ favicon.ico
β”‚   β”‚   β”œβ”€β”€ index.html
β”‚   β”‚   β”œβ”€β”€ logo512.png
β”‚   β”‚   └── manifest.json
β”‚   └── src
β”‚       β”œβ”€β”€ components
β”‚       β”œβ”€β”€ elements
β”‚       β”œβ”€β”€ img
β”‚       β”œβ”€β”€ services
β”‚       β”œβ”€β”€ App.css
β”‚       β”œβ”€β”€ App.js
β”‚       β”œβ”€β”€ App.test.js
β”‚       β”œβ”€β”€ index.css
β”‚       β”œβ”€β”€ index.js
β”‚       └── reportWebVitals.js
β”‚       └── setupTests.js
└── README.MD

✍️ Author

Acknowledgments

About

πŸ’» A chatting website where user can connect with other users and chat with them.βœ’Built with MERN and Socket.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published