107: Sam Selikoff - Pushing Complexity to the Client-Side
In this episode, Adam continues his discussion with Sam Selikoff about building single page applications, this time focusing on strategies for keeping your API layer as simple as possible, so all of your complexity lives in your client-side codebase instead of being spread across both.
Topics include:
- Building an API without writing any controller code
- Thinking of your API like a database as much as possible
- Modeling everything on the server as a resource, including things like S3 upload signatures
- Using tools like Firebase to avoid writing an API entirely
- Rollbar, sign up at https://rollbar.com/fullstackradio and install Rollbar in your app to receive a $100 gift card for Open Collective
- Cloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free
- EmberMap, Sam's Ember.js training site
- JSON:API, the API spec Sam uses to build his SPA backends
- JSONAPI::Resources, the Rails gem for declaratively building a JSON:API compliant API
- Firebase
- Vuex
- Apollo GraphQL