Monday 13 March 2017

Creating almost purely functional endpoints in Express?

I am currently building out a middleman server in Node using Express for an application my company is building. The sole purpose of this server is to take some queries from the client, gather data from our internal microservices, and format the response how the client asked for it.I have came up with a rough outline of an abstraction and made a gist kinda explaining it.My question is, how off am I with this idea and how bad is it going to be later down the road if I do use this abstraction for GET requests?

Submitted March 13, 2017 at 05:53PM by cirsca

No comments:

Post a Comment