To fix or starter over?

Working on a multifunctional inventory management, scheduling, and order handler app.

Got one component, the order form, down to a tee even though it is the easiest part.

But having trouble getting the schedule going. And I'm realizing that I did little to no prep work (first app) so there is probably a rat's nest of code despite a lot of work being finished.

Had this happen with a much simpler med logger app, and then just had lovable summarized its intended features and then had claude write a one page version of the app, which i fed back into lovable and it came out almost perfectly with the one prompt (did include code).

The app in question has lots of functions and dependencies though and lots of relational databases and such. So it will not be as simple. It is like 5 apps in one.

So should i keep trudging or start from scratch?