6d1b21010a | ||
---|---|---|
.github | ||
.husky | ||
@types | ||
components | ||
hooks | ||
pages | ||
public | ||
stores | ||
styles | ||
utils | ||
vendor | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
jest.config.js | ||
lint-staged.js | ||
next-env.d.ts | ||
next-i18next.config.js | ||
next.config.js | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
yarn.lock |
README.md
Mango UI V3
Uses:
- Typescript
- Linting with ESLint
- Formatting with Prettier
- Linting, typechecking and formatting on by default using
husky
for commit hooks - Testing with Jest and
react-testing-library
Running the UI locally
- Install Node.js and npm (https://nodejs.org/en/download/), and Git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- Open a new terminal window (if running Windows use Git Bash) and run
npm install -g yarn
- Run
git clone https://github.com/blockworks-foundation/mango-ui-v3.git && cd mango-ui-v3
to get the UI source code - Run
yarn install
to install dependencies - Run
yarn dev
to start the webserver - Navigate to
http://localhost:3000
in your browser
Branches
production
is deployed to trade.mango.markets and app.mango.marketsmain
is deployed to alpha.mango.marketsdevnet
is deployed to devnet.mango.markets