Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Architecture of Node in front of Rails
1 point by czbond on Dec 13, 2013 | hide | past | favorite | 1 comment
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



So far, I have found the following as the only mention on the inter-webs. https://engineering.groupon.com/2013/misc/i-tier-dismantling...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: