Skip to content

A simple site with a chat room implemented using socket.io (which uses WebRTC).

Notifications You must be signed in to change notification settings

gsk1692/tomnjerry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomnjerry

A simple site with a chat room implemented using socket.io (which uses WebRTC).

Please note that you must have Node.js installed in your system.

#Server Server is written in Node.js

#About Site Just a sample website. Click on the link "Chat Room" in navbar to experience the chat

#How to run (For those not familiar to Node.js) Put all the files in a project directory of your choice
Open Terminal
Navigate (cd) to your project directory
Give the command "npm start"
You will see that the server is running on port 4443 (or 3000 - see comments in server.js)
Head on to your browser and type https://localhost:4443" ("http://localhost:3000" - see comments in server.js)
Click on the Chat Room link in navbar

#For HTTPS To get the cert.pem and key.pem, you must run the openssl command in your project directory.

openssl req -nodes -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365

#Voila! That's it!

About

A simple site with a chat room implemented using socket.io (which uses WebRTC).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published