https://github.com/tanhongit/deno_realtime_chat_app
Build a Simple Realtime Chat App with Deno and WebSockets
https://github.com/tanhongit/deno_realtime_chat_app
chat-application chat-room deno deno-realtime denojs real-time realtime-chat realtime-messaging
Last synced: 6 months ago
JSON representation
Build a Simple Realtime Chat App with Deno and WebSockets
- Host: GitHub
- URL: https://github.com/tanhongit/deno_realtime_chat_app
- Owner: tanhongit
- License: mit
- Created: 2020-08-17T08:43:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T02:56:14.000Z (about 5 years ago)
- Last Synced: 2025-02-03T22:40:47.075Z (8 months ago)
- Topics: chat-application, chat-room, deno, deno-realtime, denojs, real-time, realtime-chat, realtime-messaging
- Language: JavaScript
- Homepage: https://deno-realtime-chat.herokuapp.com
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Welcome to Chat App Deno by TANHONGIT
Complete the realtime chat room application implementation using Deno and WebSockets.# What are WebSockets
WebSocket is actually a protocol that enables bidirectional communication between the client and the server of a web application over a single long living TCP connection.# Building the application
We are going to build the web application using:- Deno v1.3.3
# Installation required
First of all, you need to install deno for your operating system:
https://deno.land/#installationYou can customize the option and change the default deno version at the guide: https://github.com/denoland/deno_install#install-and-manage-multiple-versions
# Runing
### 1. Clone Repo
```
$ git clone https://github.com/TanHongIT/Deno_Realtime_Chat_App
$ cd Deno_Realtime_Chat_App
```### 2. run server at terminal
For windows
```
$ deno run --allow-net --allow-read server.js
```For linux ubuntu
```
$ sudo /home/user/.deno/bin/deno run --allow-net --allow-read server.js
```_**Don't forget to change "user" to the default user name for ubuntu.**_
_**Example**_: sudo /home/tanhongit/.deno/bin/deno run --allow-net --allow-read server.js
And now go to http://localhost:3000/
------------------------------------------------------------------------------
Link Demo: https://deno-realtime-chat.herokuapp.com/
------------------------------------------------------------------------------
_**Read more:**_ Chat Room Realtime App With Ruby on Rails : https://github.com/TanHongIT/chat_room_rails_6
![]()