Tech stack:
Dependencies
This application requires Node.js and NPM.
npm install
To perform a clean install, in which the project is returned to a pre-built state with fresh dependencies installed, run:
npm run clean
Development
Run the application in development mode:
npm start
View the development application at http://localhost:8743.
Build
npm run build
Running tests
Unit tests
Unit tests are written in ES6 with Mocha and Chai, with code coverage generated by Istanbul.
Tests are written using assert syntax and React Test Utils.
Run unit tests with:
npm test
Docker
Building the Image
docker build -t style-guide .
Running the Image
docker run -p 8104:8104 -d style-guide