Skip to content

Moira web application based on React

License

Notifications You must be signed in to change notification settings

mtrsv/moira-web2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moira Web 2.0

This repo is for Moira's Web UI built on React/TypeScript. If you're new here, please check out our main README.

Development

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

Building

yarn build

All files will be prepared in the dist folder.

Developing

yarn start

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

yarn withBackend

Starts a dev server on port 9000 and a dockerized backend instance, in parallel.

yarn start-with-local-api

Starts a dev server as a proxy to your API service. Make sure you have a local Moira API service set up and add its URL to webpack.dev.js in devServer.proxy block.

yarn storybook

Starts Storybook on port 9001.

yarn lint

ESLint check. Will run before every commit via husky.

yarn tsc --noEmit

Runs the TypeScript compiler for type-safety checking. Will run before every commit via husky.

Contributing

First of all, thank you for your help!

For contributors, we have two major rules:

  • Please, create your issues in the main repo. Even if you think that your issue concerns only the web interface, often it doesn't.
  • If you want to send a PR, checkout a branch for you feature from master and name it like so feature/%feautre_name%. Also, when sending a PR choose master as the base branch.

About

Moira web application based on React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • Less 6.0%
  • JavaScript 0.8%
  • Makefile 0.3%
  • Dockerfile 0.1%
  • HTML 0.0%