Skip to content

A real-time, multiroom chat app built with Express.js and Socket.IO.

Notifications You must be signed in to change notification settings

HereBeAndre/get-chatty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Chatty

A real-time, multiroom chat app built with Express.js and Socket.IO. It relies on the WebSocket protocol in order to let users join rooms where they can send messages and share their current geolocation.

Try it here

Table of Contents

General Information

  • This application makes use of full-duplex communication provided by WebSocket to enable users to join and participate in a chat room.

Technologies and Libraries Used

Install

The complete list of dependencies is included in ./package-lock.json.
Run npm install to install all dependencies.

Available Scripts

In the project directory, you can run:

npm run start-dev

Runs the app in the development mode with nodemon command to monitor for any changes in your source and automatically restart your server.
Open http://localhost:3000 to view it in the browser.

npm start

Runs the app in the development mode with node command.
Open http://localhost:3000 to view it in the browser.

npm test

WIP

Features

  • A user can choose a display name and type the chat room they want to join;
  • When a user joins a room, they can send messages and share their location with other users;
  • Users of a room get notified when someone joins or leaves the room;
  • Data for each user is not stored on a database, therefore it is avaiable as long as the socket is connected. As soon as the socket is disconnected, all its related data is wiped.

Screenshots

Join chat room   Welcome   Chat 1   Chat 2

Room for Improvement

Todo:

  • Implement an actual REST service.

License

This project is distributed under Open Source license.

About

A real-time, multiroom chat app built with Express.js and Socket.IO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published