Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain a list of the added/removed stocks in MongoDB #3

Closed
bapinney opened this issue Jul 11, 2016 · 0 comments
Closed

Maintain a list of the added/removed stocks in MongoDB #3

bapinney opened this issue Jul 11, 2016 · 0 comments
Assignees

Comments

@bapinney
Copy link
Owner

bapinney commented Jul 11, 2016

Currently, events get emitted through WebSockets when someone adds or removes a stock. But if someone views the page after a 'stockadd' event had been emitted, that viewer will not see that added stock. Thus, whenever a stock is added or removed, that record should be updated in a MongoDB document so new clients can mirror it when they open the page.

@bapinney bapinney self-assigned this Jul 11, 2016
bapinney added a commit that referenced this issue Jul 13, 2016
Mongoose package installed and schema built for the document that will
hold all the stocks that have currently been added.  This will be used
to synchronize new clients that view the page after stocks have been
added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant