/web2.0

Moira web application based on React

Primary LanguageJavaScriptMIT LicenseMIT

Moira Web 2.0 Build Status Dependency Status

If you're new here, better check out our main README.

Development

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 --env.API=local

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

Put issues in main repo, please. Even if you think, that your issue only about web interface. In many cases that's no so. Thank you!


More about Moira