Web Frontend for BreakOut
For related applications check the organization: https://github.com/BreakOutEvent
- Clone the repository:
git clone https://github.com/BreakOutEvent/breakout-frontend
- Request the config file
config-someenvname.json
- Start mongodb using docker:
docker run --name breakout-mongo -p "27017:27017" -d mongo
- Optional: start an instance of breakout-backend (requires further documenation)
- Run
npm ci
to install the node packages (works with npm version 8 and node version 16) - Run
npm run build
to build project (e.g less -> css, jsx -> js, ...) - Run
NODE_ENVIRONMENT=yourenv npm start
to start frontend - Your application will be running at localhost:3000
- Execute steps 1 - 4 from above
- Run
npm run build-watch
. This watches for changes in client-side*.js
*.jsx
and*.less
files and builds the respective compiled files (which then can be found in/public
). Keep this running during development! - Run
NODE_ENVIRONMENT=yourenv npm start
to start frontend - Your application will be running at localhost:3000