I'm working on a medium-sized full stack website using React for the frontend and Spring Boot for the backend. I'm wondering if it's better to kick things off with a static version of the frontend, complete with dummy data and users, or if I should dive straight into developing the backend with real users and APIs. What's the best approach?
5 Answers
In my experience, if you can, begin with key frontend features using mock data. It’s a great way to uncover logic gaps more quickly. Once you have a good idea of the UI, you can build APIs that cater specifically to client needs.
Starting with a clear concept is key. Knowing your requirements will help you decide how to structure both ends effectively. Depending on your project, focusing on the server-side might make sense first, but be flexible!
Personally, I like to tackle both the frontend and backend simultaneously. It helps to go back and forth between the two as the project progresses. This way, you can catch any mismatches or necessary changes along the way rather than waiting until one side is fully finished.
I call it the sandwich approach: lay down some work on both ends and meet in the middle, adjusting as necessary!
It really depends on your style! I usually plan out features and the database schema before diving in. Once I have authentication sorted out, I can easily build out features without backtracking too much.
I’d recommend starting with the backend first. It’s easier to build the frontend around the backend logic you create, and having your APIs set up from the start lays a solid foundation.
Exactly! Plus, having the backend complete means you can pull in real data for your frontend from the get-go.
Totally agree! The backend is like the foundation, the frontend is the house—all built upon it.

I do the same! I usually start on the backend, but I end up switching back to frontend as needed.