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

Run UI independent of API #4

Open
dkundel opened this issue Jul 10, 2017 · 0 comments
Open

Run UI independent of API #4

dkundel opened this issue Jul 10, 2017 · 0 comments

Comments

@dkundel
Copy link
Member

dkundel commented Jul 10, 2017

Most of the work here is already done but basically there should be an environment variable that when set, starts up the Node.js server without the back-end but instead makes the front-end talk to another back-end that is being specified. For this we need to slightly alter the entry part of the server as well as create a route that the front-end server contacts to ask what the actual API endpoint is.

This way we could easily write different back-ends as long as they support a certain set of endpoints for the admin interface and support the data structures used by Twilio Sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant