Closed jstcki closed 6 years ago
@bergos I suggest you add the necessary build script to wherever you think it's the right place and when it's working you can merge this PR :) If there are issues, please let me know!
BTW in case this isn't obvious: the build artifacts of the frontend are ignored by git, so the build needs to run on each deployment.
Resolved via 8ef1c3df5462757079a813965133d530b29769ea
Everything frontend-related lives under
app/
.Before it can run in production, it needs to be built:
cd app && npm i && npm run build
should do the trick.Then you can import the Express middleware from
app/index.js
and add it to your server.