jonsamwell / angular-http-batcher

Enables HTTP batch request with AngularJS
MIT License
96 stars 28 forks source link

Sample NodeJS server #20

Closed tamlyn closed 9 years ago

tamlyn commented 9 years ago

As discussed in #19, here is an example using multifetch node module to handle batch requests on the server side. It can only handle GET requests with JSON responses but for most Angular apps, that's all that is needed. I guess angular-http-batcher can ignore non-GET requests and the application user will be responsible for ensuring JSON responses.

jonsamwell commented 9 years ago

Thanks for this. I'm on holiday tomorrow for a week but will get this implemented when I get back ASAP