I'm not really sure what to answer. I usually create three folders:
server/
web/
shared/
I make sure to install all frontend dependencies as dev dependencies, and I use foreman to start the backend and run webpack with one command.
Is there anything in particular that you find complex or challenging about having backend and frontend code in the same repo?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm not really sure what to answer. I usually create three folders:
server/
with the backend code.web/
with the frontend code.shared/
with the code that I use both in the backend and frontend.I make sure to install all frontend dependencies as dev dependencies, and I use foreman to start the backend and run webpack with one command.
Is there anything in particular that you find complex or challenging about having backend and frontend code in the same repo?