DEV Community

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

Collapse
 
dikamilo profile image
dikamilo • Edited

What to write first?

Backend <-> Frontend communication specification and documentation ;) Then both sides can base on it and implement it. Frontend can use some mock servers based on spec, backend just implement spec on their side. Then frontend can change mocks to real backend responses and test integration.

Collapse
 
viktoriabors profile image
Viktoria Bors-Pajuste

Yeah I heard (and know) specification and documentation is really crucial working as a team.

Collapse
 
tracygjg profile image
Tracy Gilmore

A useful technique I use occasionally is c4model.com/, check it out.

Thread Thread
 
viktoriabors profile image
Viktoria Bors-Pajuste

Thank you, I am gonna definitely check it out !