New React.js Template

Discourse is a full-fleged ember app. It communicates with the discourse api which is built with Rails.

The best way to do what you want to do is generate an api key and fire your requests from your custom frontend to the discourse api.