I am a bit new to this area and I I am missing something fundamental. I have a very basic shell of an application:
Client path: src/index.js
Server path: server/index.js
Procfile: web:node server/index.js
root package.json:
"dev": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
How do I tell heroku where the client files are? Do I need a "start" script in the root's package.json? From the examples that I've seen they usually had "node " to start the express server. Do I need to set up something like webpack for the client server?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…