Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Init HUB and setup Redis #32

Open
ejayxyz opened this issue May 7, 2021 · 1 comment
Open

Init HUB and setup Redis #32

ejayxyz opened this issue May 7, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@ejayxyz
Copy link
Member

ejayxyz commented May 7, 2021

Initialize the Agore HUB backend with Redis database connection.

Finalize and implement the data structures.

From my point of view, we should separate the codebases into different repositories.

@ejayxyz ejayxyz added enhancement New feature or request question Further information is requested labels May 7, 2021
@Brunya
Copy link
Member

Brunya commented May 11, 2021

Community data

{
   "id":0,
   "name":"",
   "description":"",
   "imageUrl":"https://..",
   "theme":{
      "color":""
   },
   "ownerId":0,
   "token":{
      "address":"0x...",
      "name":""
   },
   "contract":{
      "address":"0x..."
   },
   "platforms":{
      "telegram":{
         "botId":0
      },
      "discord":{
         "serverId":0
      }
   },
   "levels":[
      {
         "name":"",
         "desc":"",
         "imageUrl":"https://..",
         "accessRequirement":{
            "type":"open|hold|stake",
            "amount":0,
            "timelockMs":0
         },
         "membersCount":0,
         "platforms":{
            "telegramGroups":[
               {
                  "id":0
               }
            ],
            "discordChannels":[
               {
                  "id":0
               }
            ]
         }
      }
   ]
}

User Data

{
   "id":0,
   "address":"0x...",
   "platforms":{
      "telegram":{
         "id":0
      },
      "discord":{
         "id":0
      }
   },
   "communities":[
      {
         "id":0
      }
   ]
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants