It's dangerous to go alone. Take this.
This is general purpose boilerplate, to kickstart a JS app with a minimal client & server side.
- backend: nodemon runs express-js app
- frontend: webpack 4+ runs reactjs
npm run publish
: uses concurrently to run server & client, don't expect to have hot module reloading
Run these two in parallel:
npm run client
: webpack dev servernpm run server
: express-js http server
.http
files are not properly test files, they are like try files, download REST client plugin for VSCode, and with a simple shortcut you'll have a way to try your local endpoints inside that IDE and get immediate feedback (more info here). Check those files under /test
folder.
So long.