Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
/ babble Public archive

A simple chat based using long-polling and Node.js (university assignment)

Notifications You must be signed in to change notification settings

cN3rd/babble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babble

Babble is a basic chat client+server, implement using long-polling and Node.js

Getting started

First, install the chat by cloning this git repo and run npm install.

To run the web app, simply run npm start

To run the tests, simply run npm test

The server runs at localhost:9000, and the webapp runs at localhost:8080.

NPM Scripts

  • npm start - runs both the client and the server normally.
  • npm test - runs the server tests using mocha & opens the folder in port 8081
  • npm run client - Runs the client server using http-server
  • npm run client-test - Runs the client tests in localhost:8081
  • npm run server - Runs the server using vanilla Node.js
  • npm run server-dev - Runs the server script using nodemon
  • npm run server-tests - Runs the server tests using mocha
  • sass-compile - Compiles the SCSS code in /client/style.
  • sass-watch - Watches the SCSS code in /client/style and recompiles it each time it is changed.

About

A simple chat based using long-polling and Node.js (university assignment)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published