P2P Chat app created as part of Andrew Mead's Complete Node Developer Course. Utilizing socket.io, jquery, moment.js, and mustache, this app allows users to create a username and chat room name. They can then share that room name with whomever else, and carry on private or group chats.
Running app can be viewed here
These instructions will get you a copy of the project up and running on your local machine for fun purposes.
- Node, NPM
- Create your local project
- clone or download the project
- In the terminal, go to your project
- $ cd < your project name >
- Run npm install in the terminal to download necessary packages:
- $ npm install
- Run the server locally
- $ node server/server.js
- Open the local version at http://localhost:3000
- Play!
- Enter your name and create a room. Test by opening another window and creating another user. Usernames must be unique! Enter the same room and see the notifications for each user.
- Terminate local server when you're done! control + c
I learned about sockets, what they do and why they are important for certain tasks. I learned how to use Mustache templates. I learned about server and client code. I learned how to push a project to Heroku.