This is a PWA (progressive web app) for tracking your foosball training progress.
Visit it on trainer.nerdlabs.it. Please be aware that this is still a work in progress
This application is built with Hops and uses React.js, TypeScript, styled-components and mobx.
Clone this repository and run:
yarn install
yarn start
Will start the application in development mode which includes HMR (hot module replacement) on the server- and on the client-side. The app will start an express.js server on port 8080.
yarn build
Will do a single build and write the output into the ./app/dist
folder.
To do a production build call yarn build -p
.
There are some other potentially interesting options:
yarn build --fast-build
will disable transpiling of all node_modules and switch theuseBuiltins
option of the@babel/preset-env
fromusage
toentry
.yarn build --no-parallel-build
will run both webpack builds (server & client) in the main thread. Leaving it on will fork the compilers into separate child processes to parallelize the work and also to have more memory available for each process.