-
Notifications
You must be signed in to change notification settings - Fork 408
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
Proposal: Interface to configure the Express server #337
Comments
Good timing as I am currently brainstorming how to make the web server and On Sunday, January 26, 2014, Taras Mankovski notifications@github.com
|
Implementing proxy with Express is trivial and defining Express routes is easy and familiar to many developers. I like the idea of using Express for these reasons. For me to be able to add proxy and custom routes I just need access to the app(Express) instance. I'm not sure what is the best way of getting to that object. What are your thoughts up to this point? |
I think a connect (http://www.senchalabs.org/connect/) or connect-like On Sunday, January 26, 2014, Taras Mankovski notifications@github.com
|
It sounds like it will work just as well. How can I help? |
It might take me some time to re-architech this. If you want this soon, I On Sunday, January 26, 2014, Taras Mankovski notifications@github.com
|
I'll happy to test whenever the plugin interface is built. I might even be able to write some examples of how to use the proxy. @airportyh, any idea when you'd be able to work on this? |
Oh great, this would be an ever better solution for #333 . You can be sure that I'll help testing the plugin system 😉 |
ember-app-kit project recently moved from Karma to Testem. With Karma, we used their built in proxy to connect to api stub and proxy functionality that was backed by an Express server.
With Testem, this implementation can be simpler and more flexible because Tested uses Express.js to serve the content. We would like to be able to hook into the Testem's Express server configuration.
This will allow us to configure to add custom api stub routes or proxy requests to external API.
Re #218: An interface to configure the express server can serve a relief valve for people who need to implement functionality that you wouldn't want to encourage otherwise.
Are you open to a PR that will allow this functionality?
The text was updated successfully, but these errors were encountered: