https://github.com/dev-shelvin-batista/nodejs-socket-server-chat
Backend project to generate chat with private channels developed in NodeJS and SocketIO.
https://github.com/dev-shelvin-batista/nodejs-socket-server-chat
chat chat-application node node-js nodejs nodemon npm socket socket-io socket-programming sockets
Last synced: 4 months ago
JSON representation
Backend project to generate chat with private channels developed in NodeJS and SocketIO.
- Host: GitHub
- URL: https://github.com/dev-shelvin-batista/nodejs-socket-server-chat
- Owner: dev-shelvin-batista
- License: gpl-3.0
- Created: 2025-08-08T09:24:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-10T05:22:59.000Z (5 months ago)
- Last Synced: 2025-09-10T08:56:13.336Z (5 months ago)
- Topics: chat, chat-application, node, node-js, nodejs, nodemon, npm, socket, socket-io, socket-programming, sockets
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project details
This project functions as a server for sending and receiving messages in a socket-type chat through private channels. These same channels can be used in any project, as long as they can use a dependency that allows socket connection. In this case, three types of frontend projects were used: Angular, React, and Ionic Angular. A chat can be established between all projects without any problems.
## Important note
None of these projects use a database on a server to store messages. Work is currently underway to add this requirement.
| |Version |
|----------------|-------------------------------|
|NPM |`11.5.2` |
|Node.js |`22.14.0`|
## Instructions
To run socket events to send and receive messages, follow these steps:
- Clone the project, either with the command git clone `https://github.com/dev-shelvin-batista/nodejs-socket-server-chat.git` or using a GitHub graphical tool.
- After cloning the repository, install the node dependencies using the command `npm install` inside the `nodejs-socket-server-chat` project folder. If an error occurs, add the --force option.
- Run the command `npm run start` to start the server. By default, the url `http://localhost:4000` is used.