GithubHelp home page GithubHelp logo

fedimint-ui's Introduction

Fedimint UI Projects

Quick start

  1. Install (Docker)[https://www.docker.com/]
  2. From repo root run docker-compose up. This starts the Fedimint backend with two federation servers.
  3. Open a new shell, and cd apps/gaurdian-ui. This folder is the setup UI for configuring a new federation.
  4. Run REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18174" yarn dev. This starts the UI connecting to the first federation server.
  5. Run REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18184" yarn dev. This starts the UI connecting to the second federation server.
  6. To tear down, run docker-compose down

What's Inside

This project includes the following apps / packages:

Apps

  • guardian-ui: Web app experience for setting up and administering fedimints. This is used by the Fedimint guardians
  • gateway-ui: Web app experience for managing Fedimint gateways. This is used by Gateway administrators

Packages

  • ui: Shared React UI component library for building Fedimint UI experiences
  • eslint-config: Shared eslint configurations (includes eslint-plugin-react and eslint-config-prettier)
  • tsconfig: Shared tsconfig.jsons used throughout Fedimint UI apps

Development

From root repo directory:

  1. yarn install (First time only)
  2. yarn build
  3. You can run any of the following commands from repo root directory
  • yarn test - Tests all apps and packages in the project
  • yarn build - Build all apps and packages in the project
  • yarn clean - Cleans previous build outputs from all apps and packages in the project
  • yarn format - Fixes formatting in all apps and packages in the project

Alternatively, you can navigate to a specific app or package within fedimint-ui/ directory and run it's respective development commands

  1. (Install mprocs)[https://github.com/pvolok/mprocs#installation]
  2. Run mprocs -c mprocs.yml - This simulates the QuickStart start using mprocs

Adding more federation servers

fedimint-ui's People

Contributors

ethntuttle avatar

Stargazers

22388o⚡️  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.