Skip to content

marnibrewster/node-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node chat app built with socket.io

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

Getting Started

These instructions will get you a copy of the project up and running on your local machine for fun purposes.

Prerequisites

  • Node, NPM

Installing

  • 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

Why was this a good learning experience?

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.

About

Node Chat App with Web Sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published