Skip to content

Web app using Angularjs, Nodejs, Mongo and web sockets to update UI of listeners

Notifications You must be signed in to change notification settings

DaBigDog/nodejs-mongo-websocket-ui-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs, Mongo, Angularjs and Websockets to Update UI Data

The app uses web sockets to update listeners data when a record is saved. This allows all users to have the latest version of the data.

Must have Nodejs and MongoDB installed.

First, install NPM packages:
>npm install
>npm start

Second, start MongoDB
>mongod --dbpath ~/blah/blah/path/to/your/db

Third, strart the nodejs app
>node app.js

Open two browsers listening on port 3000... http://localhost:3000 Update a product in one browser and watch the data in the other browser be updated with the new value.

About

Web app using Angularjs, Nodejs, Mongo and web sockets to update UI of listeners

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published