r/FullStack • • 22h ago

Question Does anyone else find their project getting messy as they add more features?

Whenever I start a new project everything feels organised. But after adding a few features, things slowly get messy. The frontend backend APIs and database all start getting harder to manage.

Sometimes I just want to make one small change but end up worrying about breaking something else'

How do you guys keep your projects organised as they grow? Any habits or tips that have actually helped you?

9 Upvotes

9 comments sorted by

2

u/undernamed1101 17h ago

Understandable and it can get out of hand quick.

1

u/jakingo 17h ago

Break your project into smaller modules and keep each part responsible for one thing. Also, write tests and clean up code regularly. It saves a lot of trouble as the project grows.

1

u/Ronin-s_Spirit 16h ago

I document my ideas so I can stay forcused on them, then I refine the documentation once I implement things. This is enough to not step on my own toes.

1

u/Available_Safe1818 16h ago

This is why classes and modules were invented.

1

u/justAnother_netizen 10h ago

Yeah I do, but it is a reason why I document everything I do, it helps me keeps track of what I am doing.

1

u/AnxiousPneumonia 5h ago

Small functions. One job. If it does two things, split it

1

u/tachyon_bit 5h ago

Good architecture. Small reusable modules. Good practices. Decomposition mindset.

This should keep the spaghetti code at bay…