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 cito install the node packages (works with npm version 8 and node version 16) - Run
npm run buildto build project (e.g less -> css, jsx -> js, ...) - Run
NODE_ENVIRONMENT=yourenv npm startto 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*.jsxand*.lessfiles and builds the respective compiled files (which then can be found in/public). Keep this running during development! - Run
NODE_ENVIRONMENT=yourenv npm startto start frontend - Your application will be running at localhost:3000