DEV Community

Discussion on: Backend or Frontend First?

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

I like to first define the API and then write both at the same time. This is common when using GraphQL because you can use the Schema-first approach to define the GraphQL schema and then work Frontend and Backend at the same time.

With a REST API you could use something like Swagger or just define a README.md with the API endpoints.