Skip to content

JayroGG/VideoChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Chat Server

Express Server with Compression, CORS, and Socket.io

This is a Node.js application that sets up an Express server with compression, CORS, and socket.io functionality.

Dependencies and Prerequisites

Before running the application, make sure you have the following dependencies installed:

  • Node.js
  • Express: web framework for Node.js
  • http: Node.js module to create a web server
  • cors: middleware to enable cross-origin resource sharing
  • socket.io: library for real-time, bidirectional, and event-based communication
  • compression: middleware to compress response bodies for HTTP requests

Getting Started

  1. Clone the repository or download the source code.
  2. Install the dependencies by running npm install.
  3. Run the server by executing npm start.
  4. The server will be available at http://localhost:4000.

Usage

This application sets up an Express server with compression and CORS enabled. It also adds socket.io functionality to the server. The root route of the application is set to /. To use the application, follow the steps in the "Getting Started" section and then send HTTP requests to the server using tools like curl or a web browser. You can also use socket.io to send real-time messages between the server and client.

Licence

This project is licensed under the MIT License.

About

Express server for video chat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published