The project has been bootstrapped with a combination of react-static and react-create-app
To run a dev server locally please do a yarn install and then run it as usual with yarn start or npm start, but stick to using yarn for consistency.
Run yarn build to generate a static export of the frontend, all the generated files will sit on the dist folder.
Afterwards simply type yarn serve to launch the express backend.
If developing the account creation page requires also:
- a Mysql service with a 1.12 mangos realm database up and running, if you need one you can import the official sql on your self-hosted mysql and modify the
.envfile accordingly. - a Google Recaptcha key with
localhostwhitelisted, grab one from here
Please refer to the comments in .env.template for more guidance.