So I have this NodeJS project with the following folder tree
+ node-folder
+ react-app-folder
+ (other folders...)
+ config
+ default.json
What I am trying to do is import that default.json file to any file in that react-app-folder.
The node-folder and react-app-folder have their own package.json file.
Is there any way of doing this?
Thank you all very much.
EDIT:
For more details about the node-folder . It is a NodeJS app server whose package.json has a script using concurrently to run both the nodejs-app on port 3000 and react-app on port 3001