Skip to content

irwinbraganza/nodejs-mongodb-changestreams

Repository files navigation

nodejs-mongodb-changestreams

node.js with mongo change streams

credits: Lauren Schaefer | https://www.mongodb.com/developer/languages/javascript/nodejs-change-streams-triggers/

prerequisites

install

npm i

run

run in seperate terminals

listening to changeStreams

node changeStreams.js

change data in db

node changeStreamsTestData.js