Skip to content
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

For API Deployments #698

Closed
toobulkeh opened this issue Jan 11, 2016 · 6 comments
Closed

For API Deployments #698

toobulkeh opened this issue Jan 11, 2016 · 6 comments

Comments

@toobulkeh
Copy link
Contributor

We've had a few projects recently that use rails API-only. Since rails-api is merged into rails (still coming soon), and your guides now have recommendations in regards to API specs, it might be worthwhile to add some flags to suspenders to automate those types of projects.

Would that be in-scope for suspenders?

@mcmire
Copy link
Contributor

mcmire commented Jan 12, 2016

I would love it if you could use Suspenders to create an API-only app. An API app is more than just creating a Rails app with --api-only, though -- it's also the tools that help you build that API. And as far as I know, we have yet to come to agreement on what tools we would want (although I'm pretty sure those of us that have been on projects involving APIs have opinions).

So what I think we need first is to decide on a core set of tools. We discussed some of that in thoughtbot/guides#365.

Internally, we create a card in a special Trello board we reserve for project experiments, and someone will try out a tool on a project for a while and report back later on whether the experiment was a success or failure. We probably need to go through some of the options that were mentioned in the PR above and do just that.

@tute
Copy link
Contributor

tute commented May 17, 2016

As stated in #706, after #676, we'll be able to solve this with generators, which might live in a separate extension project. Will close this issue, and we can continue discussing in 706. Thanks!

@tute tute closed this as completed May 17, 2016
@toobulkeh
Copy link
Contributor Author

It sounds like JSON-API is the API Spec of choice for Thoughtbot then. Is that correct?

@tute
Copy link
Contributor

tute commented May 18, 2016

It sounds like JSON-API is the API Spec of choice for Thoughtbot then. Is that correct?

Replied in #706 (comment).

@anhari
Copy link

anhari commented Dec 22, 2016

Maybe a dumb question, but can you explain what you mean by being able to solve this with generators?

@tute
Copy link
Contributor

tute commented Dec 23, 2016

Can you explain what you mean by being able to solve this with generators?

See PRs introducing behavior as generators:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants