Joel Barbosa Posted on Apr 27, 2018 How do you use monorepo with #lerna to your FrontEnd and BackEnd? #lerna #node #javascript #help Oldest comments (2) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Joel Barbosa Joel Barbosa Joel Barbosa Follow Joined Apr 4, 2018 • Apr 27 '18 Dropdown menu Copy link Hide I am doing a new architecture of the project it is React and NodeJs in the backend API. So I think Monorepo to the project is more convenient. And I would like to know how you are doing yours. Collapse Expand Avalander Avalander Avalander Follow "Biography is irrelevant" - Seven of nine (probably) if she was asked that question. Joined Mar 12, 2018 • Apr 28 '18 • Edited on Apr 28 • Edited Dropdown menu Copy link Hide 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? Code of Conduct • Report abuse 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
Oldest comments (2)
I am doing a new architecture of the project it is React and NodeJs in the backend API. So I think Monorepo to the project is more convenient. And I would like to know how you are doing yours.
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?