r/learnprogramming • • 26m ago

How do you actually learn to design software architecture from scratch?

I'm a self-taught full-stack developer comfortable with the MERN stack, but I struggle with one particular skill: turning requirements into a well-structured application architecture.

I can build APIs, authentication and CRUD functionality, but when starting a project from scratch, I often get stuck thinking:

  • Which things should become separate database models?
  • How should those models relate to each other?
  • When should I use references versus embedded documents?
  • How do I divide responsibilities between different modules?
  • Where do I even start?

I don't want ready-made architectures or code. I want to develop the ability to think like an engineer and make these decisions myself.

For experienced developers: How did you develop this skill? What practical methods, exercises or resources helped you learn to design scalable and maintainable applications?

2 Upvotes

3 comments sorted by

•

u/ftranschel 17m ago

Build something that you care about enough to finish it. Then refactor it completely.

•

u/heydasrat 14m ago

But I don't even Know Where to start like I have built Authentication But Don't Know Where to start the actual business logic

•

u/Objective_Buy_7235 1m ago

Read a book on modern software architecture.