ShapeShift DAO Web Interface

This project was bootstrapped with Create React App.

ShapeShiftsOSS 2nd generation Web application. (Under Development)

Table Of Contents

Helpful Docs

Resources

Dependencies

Developer Onboarding

  • Install Dependencies:

    yarn
  • Run server

    yarn dev

Commands

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

    yarn dev

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

    yarn test

Launches the test runner and prints out the coverage of the tests that were run. It also creates an html page you can interact with at the root level of the project in /coverage.

    yarn test:coverage

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

    yarn build

Linking

If you are working with any @shapeshiftoss dependencies use yarn link These next steps will show you how to link to the chain-adapters repo From your projects folder:

  1. cd ./lib/chain-adapters && yarn link

  2. cd ..../web/ && yarn link @shapeshiftoss/chain-adapters

Now your web's chain-adapters have a symlink to your lib's

You can use yarn run show-linked-packages to show what is currently symlinked via yarn

Last updated