Skip to content

Commit

Permalink
test: init data
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoanle396 committed Aug 5, 2024
1 parent 76bc281 commit c843299
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/server/src/crawl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ export function fromFileChangesToQuery(fileChanges: Array<string>): string {
return dataReturn
}


async function main() {
// get list file change
const fileChanges = await getListFileChange()

const query: string = fromFileChangesToQuery(fileChanges)
const query: string =
'https://30dd-2402-800-6294-731a-3025-a45b-e569-90b0.ngrok-free.app/api/v1/crawl' +
fromFileChangesToQuery(fileChanges)

console.log(`${query}`)
}
Expand Down
1 change: 1 addition & 0 deletions projects/DeFi/DEX/Coinlink/detail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## This is detail
6 changes: 6 additions & 0 deletions projects/DeFi/DEX/Coinlink/features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"key": "3dArt",
"value": true
}
]
39 changes: 39 additions & 0 deletions projects/DeFi/DEX/Coinlink/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"industry": [
"Coinlink",
"Dex"
],
"display_term": "Coinlink",
"term": "coinlink",
"tags": [
"AMM",
"CLMM",
"Swaps",
"NFT",
"Liquidity Manager",
"Yield Farming",
"Yield Optimizer"
],
"glossaries": [
"table1"
],
"short_description": "Acala provides backend infrastructure for traditional finance that is trusted by institutions like Coinbase, Figment, and Current.com.",
"partnerships": [
{
"name": "Ledgity",
"image": "https://firebasestorage.googleapis.com/v0/b/builtoncardano.appspot.com/o/uploads%2F1632258485557.svg%2Bxml?alt=media&token=d6d74819-e40d-4e7b-a4be-002653835b01"
},
{
"name": "Ledgity",
"image": "https://firebasestorage.googleapis.com/v0/b/builtoncardano.appspot.com/o/uploads%2F1632258485557.svg%2Bxml?alt=media&token=d6d74819-e40d-4e7b-a4be-002653835b01"
}
],
"author": "builtongno",
"social": {
"website": "https://defilama.com",
"twitter": "https://twitter.com/defilama",
"github": "https://github.com/defilama",
"discord": "https://discord.com/invite/defilama",
"telegram": "https://t.me/defilama"
}
}
10 changes: 10 additions & 0 deletions projects/DeFi/DEX/glossaries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"name": "table1",
"description": "This is the glossary for table 1"
},
{
"name": "table2",
"description": "This is the glossary for table 1"
}
]
28 changes: 28 additions & 0 deletions projects/DeFi/category.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "DeFi",
"description": "Acala provides backend infrastructure for traditional finance that is trusted by institutions like Coinbase, Figment, and Current.com.",
"pathname": "DeFi",
"status": "active",
"tags": [
"DeFi",
"Education",
"Videos",
"Merchandise",
"Learn",
"AMM",
"CLMM",
"Swaps",
"NFT",
"Liquidity Manager",
"Yield Farming",
"Yield Optimizer"
],
"sub_categories": [
{
"name": "DEX",
"pathname": "DEX",
"status": "active",
"description": "Acala provides backend infrastructure for traditional finance that is trusted by institutions like Coinbase, Figment, and Current.com."
}
]
}
12 changes: 12 additions & 0 deletions projects/DeFi/features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"key": "3dArt",
"label": "3D and Art",
"status": "active"
},
{
"key": "2dAction",
"label": "2D and Action",
"status": "active"
}
]
27 changes: 27 additions & 0 deletions projects/socials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"name": "Website",
"code": "website",
"icon_url": "web.com"
},
{
"name": "Twitter",
"code": "twitter",
"icon_url": "twitter.com"
},
{
"name": "Github",
"code": "github",
"icon_url": "github.com"
},
{
"name": "Discord",
"code": "discord",
"icon_url": "discord.com"
},
{
"name": "Telegram",
"code": "telegram",
"icon_url": "telegram.com"
}
]

0 comments on commit c843299

Please sign in to comment.