blauks / liquidator-frontend

The frontend for Liquidator. Written in TypeScript with React and styled-components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build - CircleCI Deps Closed issues License

Milestones and Project Board

Link to backend repo

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;

  1. yarn test -- Runs the component and reducer tests. Does not require a backend running.
  2. yarn test:api -- Only run the backend integration tests. Requires a running instance of liquidator-backend.
  3. yarn test:all -- Runs everything. Requires a running instance of liquidator-backend.

Happy hacking! 🎉

About

The frontend for Liquidator. Written in TypeScript with React and styled-components.

License:MIT License


Languages

Language:TypeScript 97.5%Language:JavaScript 2.2%Language:HTML 0.3%