Skip to content
Discussion options

You must be logged in to vote

Hi @atomic-crater
I usually follow a “plan the boundaries, evolve the implementation” approach.

Before starting, I decide the main modules and responsibilities based on the project scope, but I avoid designing every detail upfront. For example, in a full-stack project I might separate:

frontend → UI and client state
backend → routes/controllers
services → business logic
repositories → database access
shared → common types/utilities
tests → unit/integration tests

A few practices that have helped me keep projects maintainable:

  1. Keep business logic out of UI components/controllers.**
  2. Use feature-based modules** when the project becomes large instead of creating huge generic folders.
  3. Define c…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sanjay-kv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants