ChatIo est une application de messagerie instantanée en LAN (Local Area Network) utilisant Node.js et Socket.IO.
- Node.js installé sur votre machine
- Socket.IO
- Live Server pour un serveur local
# Cloner le dépôt
> git clone https://github.com/patobeur/chatio.git
# Se déplacer dans le répertoire du projet
> cd chatio
# Installer les dépendances
> npm install
# Installer les fix de sécurité
> npm audit fix
_removed 1 package, changed 8 packages, and audited 121 packages in 2s_
# Démarrer le serveur en mode développement
> npm run dev
Ouvrez votre navigateur et accédez à l'adresse IP du serveur.
Exemple : http://192.168.1.105:3500
(remplacez par l'adresse IP de votre serveur).
{
"name": "chatio",
"version": "1.0.0",
"description": "Application de chat en LAN utilisant Node.js et Socket.IO",
"main": "server.mjs",
"type": "module",
"scripts": {
"dev": "nodemon server.mjs",
"start": "node server.mjs"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.21.2",
"socket.io": "^4.7.5"
},
"devDependencies": {
"nodemon": "^3.1.3"
}
}
ChatIo is a simple LAN-based chat application using Node.js and Socket.IO.
- Node.js installed on your machine
- Socket.IO
- Live Server for local server
# Clone the repository
> git clone https://github.com/patobeur/chatio.git
# Navigate into the project directory
> cd chatio
# Install dependencies
> npm install
# Start the server in development mode
> npm run dev
Open your web browser and navigate to the server's IP address.
Example: http://192.168.1.105:3500
(replace with your actual server IP address).
{
"name": "chatio",
"version": "1.0.0",
"description": "Simple LAN chat application using Node.js and Socket.IO",
"main": "server.mjs",
"type": "module",
"scripts": {
"dev": "nodemon server.mjs",
"start": "node server.mjs"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.21.2",
"socket.io": "^4.7.5"
},
"devDependencies": {
"nodemon": "^3.1.3"
}
}
>npm fund
[email protected]
├─┬ https://opencollective.com/express
│ │ └── [email protected]
│ ├── https://github.com/sponsors/sindresorhus
│ │ └── [email protected], [email protected]
│ ├── https://github.com/sponsors/ljharb
│ │ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
│ └── https://github.com/sponsors/feross
│ └── [email protected]
└─┬ https://opencollective.com/nodemon
│ └── [email protected]
└─┬ https://paulmillr.com/funding/
│ └── [email protected]
└── https://github.com/sponsors/jonschlinkert
└── [email protected]