Liquidator [Frontend]
This is the frontend for liquidator.
To run this (with hot-reload), simply run the command
yarn start
If you wish to use storybook (to see the components in isolation), first install it:
npx -p @storybook/cli
And then run it by entering
yarn storybook
Other than that, it's just a create-react-app, so the normal yarn build
etc. works!
To test the application, we have three different commands;
yarn test
-- Runs the component and reducer tests. Does not require a backend running.yarn test:api
-- Only run the backend integration tests. Requires a running instance ofliquidator-backend
.yarn test:all
-- Runs everything. Requires a running instance ofliquidator-backend
.
Happy hacking! 🎉