# chat
**Repository Path**: crazycat-tj/chat
## Basic Information
- **Project Name**: chat
- **Description**: Simple Chat built with Node.js, Socket.io, Express & Redis (+ client built with Bootstrap)
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-07-09
- **Last Updated**: 2021-07-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# SimpleChat
Built with:
- Server side: Node.js, Socket.io, Express, Redis
- Client side: HTML5 Boilerplate, Bootstrap, Handlebars and jQuery
This is just a proof of concept of what could be done with these technologies.
### Requires
- Node.js
- NPM (Node Package Manager)
- Redis
### Get the code
git clone https://github.com/tegioz/chat.git
### Run
Fetch dependencies:
npm install
Launch Redis:
redis-server
Launch chat server:
(don't forget to launch Redis before!)
node chatServer.js
Now open this URL in your browser:
http://localhost:8888/
and you're done ;)
### Broadcast API
Send messages to all connected users:
Content-Type: application/json
POST /api/broadcast/
{"msg": "Hello!"}