- 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)
- Clone this Repository in your desired directory by typing
git clone https://github.com/Triple3Apple/chat-app-socket-io.git
- run
npm install
in the terminal when you're inside the repository to install all the dependencies - run
nodemon server.js
in the terminal to start up the chat-app (server) - Go to
http://localhost:3000/
on your browser (Preferably Chrome) - Open other browser tabs/windows and go to
http://localhost:3000/
again, login with a username and start messageing yourself (How fun and lonely!) - 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]