/web2.0

Moira web application based on React

Primary LanguageJavaScriptMIT LicenseMIT

Moira Web 2.0 Build Status Dependency Status devDependencies Status

It's repo for Moira Web UI. If you're new here, better check out our main README.

Development

You need Node.js and Yarn installed. After cloning repo make sure you have installed all dependencies by running yarn install.

Building

yarn build

All files will be prepared in dist folder.

Developing

yarn start

Starts dev server on port 9000 and fakeapi server (provides mock api data) on port 9002, in parallel.

yarn start-with-local-api

Starts dev server with proxy to your API service. Make sure you setup local Moira API service and add it URL to webpack.dev.js in devServer.proxy block.

yarn storybook

Starts Storybook on port 9001.

yarn lint

ESLint check. Recommended to run before commit.

yarn flow

Starts Flow server for checking types. You can also run yarn flow.status for status, yarn flow.check for errors report, yarn flow.coverage.html to export html report with cute UI.

Contributing

First of all thank you for your help!

For contributors we have two major rules:

  • Put issues in main repo, please. Even if you think, that your issue only about web interface. In many cases that's no so.
  • If you want to send PR, checkout you feature branch from master and name it by template feature/%feautre_name%. When you send PR alson choice master as base.