Try   HackMD

Simple dev-note of TangleID front-end by Denny Ku

Installation

On web:

$ git clone https://github.com/abalone0204/tangleId.git
$ cd tangleId
$ vi .env
OFF_TANGLE_USERS_LINK=https://tangleidentity.firebaseio.com/users.json
HOST_API=http://node0.puyuma.org/tangleid_backend/api/
$ npm install

error

error msg

  • error in node-gyp installation

Fix with:

$ sudo npm install --unsafe-perm

On mobile:

Building Standalone Apps

Run the dAPP

Functions:

User page:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • user page 的確會列舉所有的 claims 但僅只於 console log
    • 是被 filter 掉了!
    • 把 filter 條件關閉,claims 便會在這裡被列舉出來
    • Questions:
      • filter 中的 e 為何物?
      • 目前有無實做 calim info 的頁面?e.g. [link]
      • 目前仍沒有 get_claim_info API 的實做。

目錄結構:

  • 頁面
    • /tangleId/pages
      • index
        • /tangleId/pages/users.js
      • user page
        • /tangleId/pages/user.js
      • Nav Bar
        • /tangleId/components/Nav/index.js
  • API
    • /tangleId/actions
  • ???
    • /tangleId/constants/index.js

Issues: