Skip to content

iAmmar7/redis-chat-challenge

Repository files navigation

Redis Chat Challenge

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

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 🌈
  • NodeJS server with Redis and Socket IO integration 🛃
  • Server deployment on Heroku 🔥
  • Frontend deployment on Vercel 🔥
  • Automatic deployment on both platforms 🏃
  • 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

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

Install Dependencies

$ cd <Project-Path>

$ npm i && cd client && npm i

Initiate a docker container

$ sudo docker-compose up -d

Fill some dummy data using our script

$ cd data_loader
$ npm install
$ npm start

Run the server

Run the following command in the root directory

$ npm start

Run the client

$ cd client
$ npm start