https://github.com/akashrajpurohit/chatapp
Real time chat application with emojis and live location sharing feature
https://github.com/akashrajpurohit/chatapp
chat-application mustache-js real-time websocket
Last synced: about 1 month ago
JSON representation
Real time chat application with emojis and live location sharing feature
- Host: GitHub
- URL: https://github.com/akashrajpurohit/chatapp
- Owner: AkashRajpurohit
- License: mit
- Created: 2019-03-06T10:45:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T08:37:23.000Z (over 1 year ago)
- Last Synced: 2025-04-21T07:26:50.334Z (about 1 month ago)
- Topics: chat-application, mustache-js, real-time, websocket
- Language: JavaScript
- Homepage: https://chatapp-akash.herokuapp.com
- Size: 214 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatApp
A Real time chat application with emojis and live location sharing featureCheck 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](https://mustache.github.io/)
4. [BEM](http://getbem.com/naming/) naming conventions
5. Integrate Emojis in application using [emojionearea](https://github.com/mervick/emojionearea)
6. Live locations using browser [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/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](#prerequisites) covered:
1. Clone this repository from GitHub onto your local computer.
```sh
git clone https://github.com/AkashRajpurohit/ChatApp.git
```2. Navigate into the project folder and install all of its necessary dependencies with Yarn.
```
cd ChatApp
yarn install
```
3. Start the server
```sh
yarn start
```## With Docker
1. Clone this repository from GitHub onto your local computer.
```sh
git clone https://github.com/AkashRajpurohit/ChatApp.git
```> Note: Make sure you have docker installed and currently running as service
2. Navigate into the project folder.
```sh
docker-compose up
```
OR to run in detached mode,
```sh
docker-compose -d up
```---
After following the steps you can start playing around with it.
You can now visit [http://localhost:4200/](http://localhost:4200/)
---
## Visit my portfolio
[Akash Rajpurohit](https://akashrajpurohit.cf)