DEV Community

Discussion on: Do you start with frontend, backend, or both?

Collapse
 
jwhenry3 profile image
Justin Henry

This is a flow I typically fall into depending on the scenario:

  • Do I need a robust backend architecture
    • Plan out the backend first so I have a scalable solution
    • Build out the frontend to facilitate the backend functionality
  • Do I need a robust frontend with a simple backend architecture
    • Build out the frontend, use Firebase as the backend storage solution until I need more
    • If an authoritative server is necessary, introduce NextJS or NestJS with appropriately provisioned endpoints or mechanisms to facilitate the needed features.

Depending on the app needs, most of the time I would lean on frontend-first, just because you can worry about the server side integration much further down the road.