Based on preact-pwa. I wanted to get some exposure to progressive web apps, and after losing the math speed round in Jackbox Party Pack 3's trivia game, I decided to build a math speed test of my own.
- Counts the number of addition and subtraction problems you can solve in a minute
- Progressive web app
- Mobile friendly
- Offline support
Make sure that Node v7 is installed.
Make sure that yarn is installed.
First, clone the repo
$ git clone https://github.com/brismuth/math-per-minute.git
Then, install all dependencies:
$ yarn
$ yarn post-install
Finally, to run the project for development:
$ yarn dev
$ yarn start
$ ./build.sh
$ docker run -d \
--name math \
-p 3000:3000 \
-v /ssd_files/math/access.log:/usr/src/app/build/access.log \
-v /ssd_files/math/logs/:/root/.pm2/logs/ \
math