Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iammar7/redis-chat-challenge

Two day Hackathon challenge to create real-time chat application using Redis. 💥
https://github.com/iammar7/redis-chat-challenge

heroku javascript nodejs react redis socket-io vercel

Last synced: 12 days ago
JSON representation

Two day Hackathon challenge to create real-time chat application using Redis. 💥

Awesome Lists containing this project

README

        

# Redis Chat Challenge
Two day [Hackathon](https://rb-hackfest.devpost.com/) challenge to create a real-time chat application using Redis. :boom:

## Vercel + Heroku deployment
https://redis-chat-challenge-ll7n94qro-iammar7.vercel.app

> If you face issues with **WebSockets** on the above URL, then please try to refresh the Heroku server here https://api-redis-chat-challenge.herokuapp.com

## Features
- Real-time chat with all the connected users :rainbow:
- NodeJS server with **Redis** and **Socket IO** integration :customs:
- Server deployment on **Heroku** :fire:
- Frontend deployment on **Vercel** :fire:
- **Automatic deployment** on both platforms :runner:
- Create custom channel feature.
- Search in chat feature.
- Participant count feature.

## Technologies
- React react
- Node Nodejs
- Express Express
- Socket.io Socket.io
- Redis Redis
- Heroku Heroku
- Vercel vercel

## How to tun
You need to have **Docker** and **NodeJS** installed in your machine.

### Clone Repository

```bash
$ git clone https://github.com/iAmmar7/redis-chat-challenge.git

```

### Install Dependencies

```bash
$ cd

$ npm i && cd client && npm i

```

### Initiate a docker container
```bash
$ sudo docker-compose up -d
```

### Fill some dummy data using our script
```bash
$ cd data_loader
$ npm install
$ npm start
```

### Run the server
Run the following command in the root directory
```bash
$ npm start
```

### Run the client
```bash
$ cd client
$ npm start
```