/react-mobx-sample

A sample React+MobX application with best practices for larger solutions.

Primary LanguageJavaScriptMIT LicenseMIT

Installation

  • Clone repository.
  • Run npm install to install dependencies.

Development

  • Run npm start to build for development environment + eslint and run a server with react-hot-loader.
  • Open a browser on http://localhost:8000.

ESLint

Eslint run automatically with npm start and on each reload, but you can manually run it by executing: npm run lint.

It is recommended to install a plugin for using .editorconfig on your IDE, so your IDE can easily help you to follow the project's standards.

Tests

Run npm test to run tests.

Coverage

Run npm run coverage to check coverage.

Production

Run npm build to run dist files on the /dist folder.