![Page 1: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/1.jpg)
Building Blocks of a REST API Project
Joe Hoyle @joe_hoyle
![Page 2: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/2.jpg)
Discovering / Learning
![Page 3: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/3.jpg)
Fog of war
![Page 4: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/4.jpg)
![Page 5: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/5.jpg)
Fog of war
![Page 6: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/6.jpg)
Fog of war
![Page 7: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/7.jpg)
A Practical Example
![Page 8: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/8.jpg)
We’re going to build a website
![Page 9: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/9.jpg)
We’re going to build a website
![Page 10: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/10.jpg)
We’re going to build a website
![Page 11: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/11.jpg)
We’re going to build a website
![Page 12: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/12.jpg)
Sign Up
admin-ajax.php
![Page 13: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/13.jpg)
A map with people on it
![Page 14: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/14.jpg)
admin-ajax.php
![Page 15: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/15.jpg)
Facebook API into the app
/facebook-callback
![Page 16: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/16.jpg)
Getting past the “Minimum Viable Product” stage
![Page 17: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/17.jpg)
Jquery suip in the app, complication
![Page 18: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/18.jpg)
![Page 19: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/19.jpg)
/admin-ajax.php
JavaScript Web App
![Page 20: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/20.jpg)
Enter the REST API
![Page 21: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/21.jpg)
We have a place to put our code
![Page 22: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/22.jpg)
REST API
![Page 23: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/23.jpg)
![Page 24: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/24.jpg)
![Page 25: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/25.jpg)
REST API
User City
{ name: ‘Joe’, id: 1, city: 232, _links: { ‘city’: ‘/cities/232’ }}
{ name: ‘London’, id: 232, location: [0,0.232]}
![Page 26: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/26.jpg)
User
{ object: ‘user’, properties: { name: { type: ‘string’, description: ‘The name of the user’ }, id: { type: ‘number’, description: ‘An identifier for the user }, city: { type: ‘number’, description: ‘The id of the city the user is in’ } }}
![Page 27: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/27.jpg)
![Page 28: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/28.jpg)
Scaling Further
![Page 29: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/29.jpg)
Our app is super popular… and slow
![Page 30: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/30.jpg)
Users
REST API
![Page 31: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/31.jpg)
Users
REST API
Custom Caching Middleware
![Page 32: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/32.jpg)
Mobile Application
![Page 33: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/33.jpg)
React Native
![Page 34: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/34.jpg)
Mobile Application
React Native
![Page 35: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/35.jpg)
![Page 36: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/36.jpg)
REST API
OAuth 2
![Page 37: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/37.jpg)
/u/b37hd92kdl8{ name: ‘Joe’, id: 1, city: 232, _links: { ‘city’: ‘/cities/232’ }, _embedded: { city: { name: ‘London’, id: 232, location: [0,0.232] } }}
User Public Endpoint
![Page 38: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/38.jpg)
User Public Endpoint
![Page 39: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/39.jpg)
![Page 40: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/40.jpg)
![Page 41: Building Blocks of a REST API Project - Human Made · Building Blocks of a REST API Project Joe Hoyle @joe_hoyle. Discovering / Learning. Fog of war. Fog of war. ... Our app is super](https://reader030.vdocuments.us/reader030/viewer/2022040411/5ed79edc9661ae43ff66a25a/html5/thumbnails/41.jpg)
Joe Hoyle @joe_hoyle
Questions