Skip to content

React + Rails API happy together with Graphiti + Spraypaint

Photo of Gavin Stark
Hosted By
Gavin S. and Jason P.
React + Rails API happy together with Graphiti + Spraypaint

Details

Is the future of Rails as a great backend framework to generate an API for the consumption of a modern Javascript SPA? Could be! With the adoption of webpacker for Rails the framework is upgrading the front end experience, but does it go far enough?

In a recent project, Gavin has been using Rails as only an API and using a React based front end and loving it! This is because of two amazing libraries that help ease some of the pains of generating and consuming, a JSON-API api.

Gavin will present on using the Graphiti gem (https://rubygems.org/gems/graphiti) to create a JSON API and the Spraypaint JavaScript library (https://www.npmjs.com/package/spraypaint) to consume it. We'll talk about using React to glue these worlds together. (and we will talk about React hooks too!)

This will likely be a live coding demo so things could get ca-razy!!

Photo of The Tampa Ruby Brigade group
The Tampa Ruby Brigade
See more events
Suncoast Developers Guild
2220 Central Ave · Saint Petersburg, FL