Directory for shared code between client and server
See original GitHub issueHi, loving your project so much, it really helps me to get into full stack development much easier.
I have a question about project structure, it seems like the common part for both frontend and backend is inside the client/core/src/models
directory, could you please explain why did you choose this approach instead of having a separate common
module in the project root directory?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Sharing JavaScript Code Between Client and Server - Medium
ESLint, Babel configuration files etc.) that is common to all packages in the monorepo. Then separate packages live in the 'packages' folder.
Read more >javascript Share code between my client and my server folders
I have a directory that contains two folder : ...
Read more >Code references between client/server/shared folders
I believe that the code in the client folder gets compiled by the GWT compiler into JS only, while the code in the...
Read more >A guide to sharing code between projects - Christian Lüdemann
A shared library means packaging the shared code into some module using semantic versioning (major, minor and patch numbers) and distributing ...
Read more >Share code between react client and express server - YouTube
Share code between react client and express server while using typescript and viteMore about me: https://www.nathankrasney.comgithub repo: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shanhuiyang oh okay, now it makes sense to me. Thank you for reply 😃
By the way, I also would like to create a
common
folder as you suggested. So I will keep this issue opened and find a time to resolve this issue.