Skip to content

Dapp-Learning-DAO/Official-website-backend

Repository files navigation

Official-website-backend

backend of official website

interface for front-end

see :

https://www.postman.com/lively-station-290552/workspace/publicworkspace/collection/13180077-af411142-dfd4-4e33-bfb5-ec26ff095072

https://hoppscotch.io/

login xyz

https://github.com/spruceid/siwe-go/blob/main/message.go

Run

mysql: pls docker run mysql ipfs: pls docker run ipfs node https://medium.com/@borepstein/running-an-ipfs-node-as-a-docker-container-on-a-private-network-4c0186aeca61

build

  ssh root@ip
 ./gradlew build -x test
  scp ./dist/apps/dl.jar  root@ip:/root/Official-website-backend/dist/apps

42090FB96DF8B814C12CAEA86A62103BEFDA22A3263641D139E56E1498EBCE0B

IPFS data

/root/graph-node/docker/data/ipfs

COS file

https://dlh-1257682033.cos.ap-hongkong.myqcloud.com/{uuid}

graph ql 集成

生产 :https://api.studio.thegraph.com/proxy/55957/dapp-learning-redpacket/version/latest 测试: https://api.studio.thegraph.com/proxy/55957/redpacket-/version/latest/graphql

{
  redpackets  {
                id   
    happyRedPacketId
    				name
                    refunded
                 allClaimed  
                     claimers {
                      claimer
                    } 
                  }
}

TODO

  1. 头像 简历
  2. 红包改造,奖励认领自动化。
  3. team system. 支持member加入team。

参考链接