Hacker News new | ask | show | jobs
by boringuser2 972 days ago
>API and frontend in the same code base

Well, it takes very little knowledge to know this isn't a good design paradigm.

3 comments

Wat? Of course front and back should be in same codebase. Why on earth would you need them to be in different repos? Put them in different folders if it makes you happy but there's no need to toss stuff all over the place. They're friends. They need to talk to each other. Let them live together
Though, isn't this what full-stack/server side UI folks favor? Rails, etc.
it's not that conclusive, there are many other aspects in which it can be bad (security, team's workflow etc). There is however no design principle ever dictates how components should/should not be stored in the same code repo.