Skip to content

Real-Time Chat Application in Node.Js Using Express, Mongoose, and Socket.Io

Notifications You must be signed in to change notification settings

mahmoud-elmakki/Node.js-ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Node.js-ChatApp

Real-Time Chat Application in Node.Js Using Express, Mongoose, and Socket.Io

The app allows multiple users to chat together, and messages will update without refreshing the page.

Express.js:

Express.js , is a web application framework for Node.js.

Mongoos:

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.

Body-Parser:

Body-Parser extracts the entire body portion of an incoming request stream and exposes it.

Routing:

Routing refers to how an application’s endpoints (URIs) respond to client requests. You define routing using methods of the Express app object that correspond to HTTP methods: app.get() to handle GET requests and app.post() to handle POST requests.

a push notification system is used send messages from server to client, each time the server is updated (a message is posted). Tis system was impelemented using socket.Io

Socket.io:

Socket.IO is a JavaScript library for real-time web applications. It enables real-time, bi-directional communication between web clients and server and has two parts: a client-side library that runs in the browser and a server-side library for Node.js. Socket.io enables real-time bidirectional event-based communication.

About

Real-Time Chat Application in Node.Js Using Express, Mongoose, and Socket.Io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published