Skip to content

ckjeldgaard/repmax

Repository files navigation

RepMax

Build Status codecov Mutation testing badge License

A One-Rep Max (1RM) calculator written in React.

Screenshot

This is a simple progressive web app capable of calculating one-repetition maximums for weight training. Focus has been on exploring React as well as setting up project structure with easy deployment using Travis CI and maximizing quality by applying linting rules for Typescript and Sass, unit tests using Jest and mutation testing using Stryker.

See Stryker mutation report.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# lint the Typescript
npm run lint

# lint the Sass
npm run sasslint

# run the tests
npm test

# run the mutation tests
npm run stryker

# build for production with minification
npm run build

# clean the production build
npm run clean