Skip to content

education-tech-stack/socket-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Socket-Box πŸ“¦

Socket-Box is a basic chat application built with Node.js, Express, and Socket.io. It enables real-time communication between users without using any backend server for emitting events. This application is created following a basic Socket.io tutorial.

Demo Video: https://github.com/education-tech-stack/socket-box/assets/48860013/02541d53-04de-41ab-8d8f-bfc81c53f505

Features πŸš€

  • Real-time chat with multiple users.
  • No need for a dedicated backend server to emit events.
  • Simple and easy-to-understand codebase.
  • Built with Node.js, Express, and Socket.io.

Usage πŸ“±

  1. Clone the repository:

    git clone https://github.com/education-tech-stack/socket-box.git
    cd Socket-Box
  2. Install dependencies:

    npm install
  3. Start the server:

    npm run start
  4. Open your web browser and go to http://localhost:3000 to access Socket-Box.

How to Use πŸ“–

  1. Chat Interface:
    • You can join the chat room by entering your name and clicking "Join Chat."
    • You can join multiple rooms.
    • Send and receive messages in real-time with other users who have joined the same chat room.

Project Structure πŸ“‚

  • server.js: The main entry point for the Express application.
  • public/: Contains the HTML and client-side JavaScript for the chat interface.
  • public/: Contains the HTML and CSS files to display the page.

Contributing 🀝

Contributions are welcome! If you have any suggestions, improvements, or want to add features, feel free to fork this repository and create a pull request.

License πŸ“œ

This project is open-source and available under the MIT License.

Start chatting in real-time with Socket-Box! πŸ’¬πŸ“²

About

A basic chat app built with Node, Express and Socket.io

Topics

Resources

Stars

Watchers

Forks