https://github.com/boolfalse/rtca-scalegrid
https://github.com/boolfalse/rtca-scalegrid
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boolfalse/rtca-scalegrid
- Owner: boolfalse
- Created: 2020-09-05T02:28:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T02:29:07.000Z (over 5 years ago)
- Last Synced: 2025-02-27T08:08:52.964Z (11 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat App with Redis + Node + Socket.io
[Source GitHub Repo](https://github.com/Scalegrid/code-samples/tree/sg-redis-node-socket-chat)
This repository contains code for a chat application built using the following web technologies:
- [Redis](https://redis.io/)
- [Node.js](https://nodejs.org/en/)
- [Express.js](http://expressjs.com/)
- [Socket.IO](http://socket.io/)
The original blog post can be found at the following link: [Link_Blog_Here](http://google.com)
The Installation process assumes that you already have the above technologies installed on your machine.
## Install
Give download link here
Navigate to the folder and run:
```
npm install
```
To start the server, you can run:
```
npm start
```
The server should start at port 8080 (default). Navigate to [http://localhost:8080](http://localhost:8080) to see the demo.
Although, before doing that, you might want to flush the DB and start with 0 users.
For that, you can uncomment the line in `index.js` that says `client.flushdb();`
Once that is done, you are ready to go. Remember to restart the server if you intend to make any changes to the code.
You can also use something like [nodemon](https://nodemon.io/) to watch your files and restart the server automatically!