breakout-frontend
v1.0.0
Published
Web Frontend
Downloads
4
Readme
frontend
Web Frontend for BreakOut
For related applications check the organization: https://github.com/BreakOutEvent
How to start breakout-frontend
- 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 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
How to develop with breakout-frontend
- 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