Hello,
I have created a snap of a basic example Reat-App with an Express back-end. I have the snap creating a daemon starting the Express server by calling:
command: node $SNAP/server.js
But I am confused how to call “React-scripts start” to get the React front-end going?
I’m still new at building React-Apps but if I were to start this application when not in a snap I would call:
node server.js
then
cd client && yarn start
Not sure how to add this to the snapcraft.yaml apps section?