~/talk

Contract-first Principle in Working with APIs

TalkinRussianat Я ❤ Фронтенд 2022 · on Friday, 2022-08-12· [api-design, frontend-architecture]
links:none on file
slides:none on file

Explains the contract-first approach for frontend–API development: use API contracts to develop frontend in parallel with backend, create abstractions and mocking of the data provider, and handle API version changes so business logic doesn't break. Covers techniques to speed network-related code and workflows that prevent integration failures and maintain good collaboration with backend engineers.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52API problems without contracts
  3. 4:18Contract-first principle
  4. 5:42OpenAPI and Swagger benefits
  5. 8:52Code generation from contract
  6. 12:04Design APIs upfront
  7. 16:17Contract-first bonuses
  8. 24:41Data vs transport models
  9. 27:09When to adopt contract-first
  10. 32:31Frontend and backend sync
  11. 36:28Avoiding team conflicts
  12. 38:59API contract validation
  13. 41:05Contract in workflows
  14. 42:12Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.