Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.41 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.41 KB

chat-app-socket-io

Chat App Using Socket.io & Express

A online chat app utilizing dynamic client-server interaction using Socket.io.

Features:

  • Sending messages in a public chat
  • Login page, so you can enter a username + username validation (no duplicate usernames)
  • Chat time stamps for when users message, join and leave
  • Resposive design

This app only runs locally as of now (looking forward to putting it online)

Untilized: Node.js, Express.js, Socket.io

Chat App Demo:

Click the GIF below too see a a higher quality version

Gameplay preview of the game: Code Red

How to run Locally

  1. Clone this Repository in your desired directory by typing git clone https://github.com/Triple3Apple/chat-app-socket-io.git
  2. run npm install in the terminal when you're inside the repository to install all the dependencies
  3. run nodemon server.js in the terminal to start up the chat-app (server)
  4. Go to http://localhost:3000/ on your browser (Preferably Chrome)
  5. Open other browser tabs/windows and go to http://localhost:3000/ again, login with a username and start messageing yourself (How fun and lonely!)
  6. To close the chat-app (server), press the following keys together CTRL + C in the same terminal where you started the chat-app (server) [terminal from Step 3]