Ask HN: Architecture of Node in front of Rails

https://news.ycombinator.com/item?id=6901255
by czbond • 13 years ago
1 1 13 years ago

Hi, I'm looking for architectural advice. What is the best method for placing a Node JS endpoint in front of a Rails back end for JSON API endpoint and Administration? Why? I am building an app which I would love to use Node for, but I don't want to re-invent the wheel (eg: rails has active admin, copious build tools, etc)

I'm looking to use node for responding to all Consumer facing UI requests, and placing calls to Rails - which Rails will serve from Postgres. Is the best manner to simply chain the calls? (Eg: UI places api call to node, and node calls the rails api to return the data?

Any suggestions would be appreciated. Thanks

Related Stories

Loading related stories...

Source preview

news.ycombinator.com