installing dependencies is quite complicated because there's three npm packages (parent and two children) - maybe in the parent's package.json you could define a custom install command that installed all three, like npm i && cd server-api && npm i && cd ../client-app && npm i. I added this to scripts and it worked!
"scripts": {
"start": "node server.js",
"test": "JWT_SECRET=mysecret PGDATABASE=travis_ci_test jest --coverage=true",
"initdb": "node server-api/db/build.js",
"deploy": "git subtree push --prefix server-api heroku master",
"full-install": "npm i && cd server-api && npm i && cd ../client-app && npm i"
},
(also would be helpful if in the ReadMe if you make it more clear/bold that you need to do npm install three times!!) (Vatsal)
installing dependencies is quite complicated because there's three npm packages (parent and two children) - maybe in the parent's package.json you could define a custom install command that installed all three, like
npm i && cd server-api && npm i && cd ../client-app && npm i
. I added this to scripts and it worked!(also would be helpful if in the ReadMe if you make it more clear/bold that you need to do npm install three times!!) (Vatsal)