Code Monkey home page Code Monkey logo

react-real-time-chat-app's Introduction

React Real-Time Chat App

As the Demo is hosted on a free Heroku account, the servers its hosted on enter ‘sleep mode’ when not in use. If you notice a delay, please allow a few seconds for the servers to wake up.

About:

This is a real-time chat application built using React (Create React App on the frontend) and NodeJS/Express/Socket.io Backend.

Users are able to join groups and message other users in real-time.

Tech Stack:

  • NodeJS/Express
  • SOCKET.IO
  • React (Create React App)
  • React Router 4
  • Moment JS
  • SASS

Screenshot

Software

Before proceeding, please ensure you have the following software installed on your computer.

  • Node
  • Yarn (optional but recommended)
  • Git command line tools

Useful links

Getting started

Please fork a copy of this repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Alternatively download or clone the master branch.

Download & Install Dependencies on your machine

Clone the repo to your machine

git clone <CloneURL>

Lunch the backend

  1. Within terminal or cmd ensure you have navigated inside the 'Backend' directory and installed the dependencies
cd <../path/to/Backend> 
yarn install OR npm install
  1. Run the start script
yarn run start OR npm run start

Lunch the frontend

  1. Open a new terminal window and navigate inside the 'Frontend' folder as you will need to keep the backend running in the background
cd <../path/to/Frontend> 
yarn install OR npm install
  1. Run the start script
yarn run start OR npm run start

Your app should be running on: http://localhost:3000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.