Architectural design of a Heroku application with Ember.js, Node.js and Express

给你一囗甜甜゛ 提交于 2019-12-13 03:46:36

问题


I'm starting to implement a Heroku application based on Ember (frontend), Node and Express (backend).

I'm thinking to segregate the frontend and the backend in different apps. Both apps will be secured by Auth0.

What do you think about it? I'm on the right way?


回答1:


Yes, I think you're going about it the right way. My company has a Ruby on Rails backend and EmberJS frontend. We have the backend as one heroku app, and the frontend as another heroku app. For ember, we use Ember CLI Deploy to deploy to production on Heroku.




回答2:


Yes, that’s generally the preferred way to build Ember apps. We built the api viewer in this manner to have a reference app that works on Heroku with Fastboot that people could look at: https://github.com/ember-learn/ember-api-docs



来源:https://stackoverflow.com/questions/48118914/architectural-design-of-a-heroku-application-with-ember-js-node-js-and-express

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!