Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 970 Bytes

CLASS_PLAN.md

File metadata and controls

46 lines (35 loc) · 970 Bytes

REST - REpresentational State Transfer

6 Principles

  • Client - Server
  • Stateless
  • Cacheable
  • Uniform interfaces
    • identification of resources
    • manipulation of resources through representation
    • self descriptive messages
    • hypermedia
  • Layered System
  • Code on demand (optional)

Github API

https://docs.github.com/en/rest

  • using curl
  • HTTP verbs - GET VS POST
  • versioning
  • authentication
  • hypermedia
  • rate limiting

Showroom Project - Live Coding Exercise

  • based on Github API
  • intro to showroom project

Consuming REST APIs

  • using fetch
  • the joys of rate limits
  • authentication
  • extracting to a hook
  • error handling
  • organizing code by layers for reusability, composability
  • polling

Extras / Resources: