/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. You'll have to run yarn fakeapi in separate terminal to provide mock API data. Mock API server starts on port 9002.

yarn start-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.config.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 develop and name it by template feature/%feautre_name%. When you send PR alson choice develop as base.