I'm creating my first full javascript app using React and Express. My main question is how to properly structure the app. I checked some articles and started by separating the client and the server, something like:
root
|
--Client
|
--Server
|
(...)
But for instance, if I want to use Prettier and EsLint in my project for both the client and the server, I need to install the package on both apps. Although it makes sense to have the client app and the server app separated, it also seems redundant to have these common services duplicated for each one of them.
Do you have any suggestions?