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

Early-stage bike shedding #1

Open
stevekinney opened this issue Oct 21, 2016 · 2 comments
Open

Early-stage bike shedding #1

stevekinney opened this issue Oct 21, 2016 · 2 comments

Comments

@stevekinney
Copy link

@jcasimir, I'm kind of thinking this could be an API-first project. Not to bike shed too early, but I'm thinking that the front-end would be easier to build if it wasn't in the asset pipeline. Second thought is that it would be super cool to use this as an opportunity to teach how to both produce and consume a JSON API-compliant API. I think Rails 5 might support this by default, but I'm a little out of touch with Rails these days.

@jcasimir
Copy link
Contributor

yeah I'm down with thinking about the API from the start / doing that first.

@calaway
Copy link
Collaborator

calaway commented Nov 1, 2016

@stevekinney, I'm going to be working on this for two weeks starting today as my Mod 3 final project.

After looking into it a bit I don't think Rails 5 supports the JSON API standard right out of the box, but this link shows several resources that could help. Two that stand out to me are the ActiveModel::Serializers, which I think should be fairly lightweight and simple, or JSONAPI::Utils, which looks more full featured and built with Rails in mind.

Do you think anyone has a specific preference on which is used, or is anything fine as long as it works?

Carmer pushed a commit that referenced this issue Nov 28, 2016
[WIP] Clean up biz west data and convert
jcasimir pushed a commit that referenced this issue Jan 30, 2017
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

3 participants