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

Automatic REST wrapping #4

Open
lorensr opened this issue Jul 1, 2015 · 0 comments
Open

Automatic REST wrapping #4

lorensr opened this issue Jul 1, 2015 · 0 comments

Comments

@lorensr
Copy link
Member

lorensr commented Jul 1, 2015

Make an app that, given people inputing sets of this:

  • REST endpoint
  • poll interval
  • specification of response – mongo doc mapping (or alternatively, a code snippet)
  • (optionally) API creds

Dynamically does the wrapping (polling, collection(s), and DDP publisher, eg https://github.com/parlaywithme/btc-price-ddp/blob/master/server.coffee) and lists it (if public API) and runs a cluster of fault-tolerant wrapper-publishers. The REST endpoints with auth could also have publish auth, eg in simple form, requiring loginWithPassword over the DDP connection before the publisher responds.

Also make it easy for people to run their own ddpd on their servers, eg for security or latency reasons.

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