-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails API + Emberjs #706
Comments
cc: @seanpdoyle |
@GabKlein thanks for opening this issue! I think this is a great idea! Unfortunately, it looks like it's currently blocked by #698. Once we resolve how to generate an API-only app, the ember-cli integration should be pretty straightforward (generating the |
@seanpdoyle do we use suspenders for many new Ember.js apps, in a way that it would make sense for us to create a flag for it? Broader than this issue: what exactly are the differences between an API-only rails and a full suspended app? Would it make sense to add |
I fear that an We'd have to ensure that the @tute is that something Suspenders is capable of or has done in the past? |
Suspenders is capable if it makes sense for us. I think it is a question of how many times do we setup ember-cli-rails projects in an automatable way. |
After #676, we'll be able to solve this with generators, which might live in a separate extension project. |
Does thoughtbot use https://github.com/cerebris/jsonapi-resources? That seems to be the prevailing JSONapi implementation in Rails, currently. |
I asked colleagues, these are some of their responses:
We don't have a silver-bullet choice for this, and it will depend on whom/what are we interfacing with. |
Would multiple generators for different options be accepted into suspenders? Or are you shooting for more of the current 1-option default? |
I don't think we would accept them into this project, as we only encode the defaults that works for most (when not every) thoughtbot generated app. That said, generators wouldn't need to be accepted, as they can work as extension projects. Thanks! |
We don't have such a clear blueprint for frontend-heavy applications, so I don't think this is something we can include into suspenders. Each frontend-heavy application we have developed have been different enough that extracting the common parts wouldn't make us more productive. Thanks for your input! |
I'm using more and more often a Rails API app coupled with Ember-cli app.
I so that Thoughtbot is using Ember as well and I was wonder if:
I would be kind of neat to be able to pass command line options into the
susperders new projectname
to make it compatible.Even cooler if
suspenders
could support Ember-cli with all the Thoughtbot frontend libs.Ember-cli is also very easily deployable on Heroku.
The text was updated successfully, but these errors were encountered: