12 Implementing frontend code and reacting to changes

This chapter covers

  • Building the frontend against a mock server (Prism) based on OpenAPI
  • Identifying design issues found during implementation
  • Using OpenAPI examples to verify that API changes make sense

When we separate a web application into frontend and backend, we create a dependency issue. The backend often needs to be built first, before the frontend can start. In this chapter, we’re going to look at how we can build the frontend without having the backend implemented. This will free us up to start developing straight away. It’ll also allow us to catch design issues sooner, while it’s still cheap to add them into the backend.

Before we build the frontend, however, we have several options ...

Get Designing APIs with Swagger and OpenAPI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.