DEV Community

Discussion on: What to write first? Front then back end or vice versa..?

Collapse
 
koire profile image
Koire

I would say API first if you're separating front from back. (And of course if you already have the idea developed)

Basically make a contract deciding what the request and what the response is, and then backend and frontend can develop against it and communicate via API spec changes