Skip to content

Real time chat application with emojis and live location sharing feature

License

Notifications You must be signed in to change notification settings

AkashRajpurohit/ChatApp

Repository files navigation

ChatApp

A Real time chat application with emojis and live location sharing feature

Check out the application live at: https://chatapp-akash.herokuapp.com

Things I learned new while developing this project

  1. WebSockets (socketio) module of nodejs
  2. Create and maintain private rooms in socketio
  3. Client side templating with mustache-js
  4. BEM naming conventions
  5. Integrate Emojis in application using emojionearea
  6. Live locations using browser Geolocation API and many more...

Running the APP locally

Prerequisites

  1. NodeJS: Please install NodeJS >= 10.15.0. If you already have it, you're good to go.

  2. Yarn: Visit Yarn download page. Select your Operating system and follow the instructions.

Once you have the Prerequisites covered:

  1. Clone this repository from GitHub onto your local computer.
git clone https://github.com/AkashRajpurohit/ChatApp.git
  1. Navigate into the project folder and install all of its necessary dependencies with Yarn.
cd ChatApp
yarn install
  1. Start the server
yarn start

With Docker

  1. Clone this repository from GitHub onto your local computer.
git clone https://github.com/AkashRajpurohit/ChatApp.git

Note: Make sure you have docker installed and currently running as service

  1. Navigate into the project folder.
docker-compose up

OR to run in detached mode,

docker-compose -d up

After following the steps you can start playing around with it.

You can now visit http://localhost:4200/


Visit my portfolio

Akash Rajpurohit