Express Js

API in Express

An application program interface [API] is code that allows two software programs to communicate with each other. That makes it possible for applications to share data and take actions on one another’s behalf without requiring developers to share all of their software’s code. In the simplest terms, APIs are sets of requirements that govern how …

API in Express Read More »

Express middleware

The middlewares are one of the most important features in Express. The middlewares are the function written with request handler function and these function will access to the request and response objects.  The middleware functions usually take three arguments,  functions that have access to the request object (req), the response object (res), and the next middleware function in the application’s request-response cycle. The next middleware function is …

Express middleware Read More »

Creating a Simple Live Chat in Express

The socket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed. The socket.io middleware has two part. Node.js server in our case app.js where we include all our server code. Node.js client or A Javascript client library for the browser.  To create a simple chat in …

Creating a Simple Live Chat in Express Read More »

Scroll to Top