Building the app
Installing dependencies
The app uses NodeJS, which is the only dependency that you have to install manually. You can find respective instructions here.
After installing NodeJS, you can proceed with installing all of the other dependencies.
Fortunately NodeJS will do all the work for you, so running npm install from within the bsrap-app folder will suffice.
For different package managers, kindly refer to their documentation.
Build options
If you are interested in all the options you have when deploying the app, take a look at the /bsrap-app/package.json file.
Under scripts you will find aliases and their respective commands which are summarized below
npm run dev
Starts a local web server with Hot Module Replacement for development that will automatically replace certain parts within the app when the code changes. The terminal output provides an address to access the local version of the app.
npm run build
Builds the entire project and stores the outputs in /bsrap-app/public.
npm run preview
Starts a local web server that serves the built solution from /bsrap-app/public for previewing.
You need to run npm run build before npm run preview.
Preview will always preview the latest build and will not update automatically when code changes!