Skip to content

nickodelab/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Socket

Welcome to my Chat App based on sockets.io, node, html and JS.

Run the Application

👉 Live App deployed into netlify (with heroku for server side)
👉 Run git clone https://github.com/nicopixel/chat, cd chat, yarn or npm install and npm run start to run the application in http://localhost:3000

Features

👉 Joining page and select chat based on room name
👉 SERVER side based on node, express, and sockets.io
👉 FRONTEND side based on html, mustache template, and sockets.io. No React framework involved here
👉 Share with the chat room your location thanks to Navigator interface

Scripts

  • npm run start: run the application in http://localhost:3000
  • npm run develop: run the application in http://localhost:3000 in development mode with nodemon
  • npm run check: check the application looking for errors with eslint
  • npm run format: apply code syntax formatting with prettier

Joining Page

Join form which allows you choose a public nickname and select the Room to enter. To select an existing room you must select exactly the same room name.

Chat Room

This is the main page: the chat room where you can broadcast messages and share you location with all users in the room