From e1f89cfdada12740b547d559dee0d5d63c646b0c Mon Sep 17 00:00:00 2001 From: Le Huu Hoan Date: Mon, 5 Aug 2024 09:38:33 +0700 Subject: [PATCH] test: init data --- apps/server/src/crawl.ts | 5 ++-- projects/DeFi/DEX/Coinlink/detail.md | 1 + projects/DeFi/DEX/Coinlink/info.json | 39 ++++++++++++++++++++++++++++ projects/DeFi/category.json | 28 ++++++++++++++++++++ projects/features.json | 12 +++++++++ projects/glossaries.json | 10 +++++++ projects/socials.json | 27 +++++++++++++++++++ 7 files changed, 120 insertions(+), 2 deletions(-) create mode 100644 projects/DeFi/DEX/Coinlink/detail.md create mode 100644 projects/DeFi/DEX/Coinlink/info.json create mode 100644 projects/DeFi/category.json create mode 100644 projects/features.json create mode 100644 projects/glossaries.json create mode 100644 projects/socials.json diff --git a/apps/server/src/crawl.ts b/apps/server/src/crawl.ts index fecaaf3..c90c3e7 100644 --- a/apps/server/src/crawl.ts +++ b/apps/server/src/crawl.ts @@ -15,12 +15,13 @@ export function fromFileChangesToQuery(fileChanges: Array): 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}`) } diff --git a/projects/DeFi/DEX/Coinlink/detail.md b/projects/DeFi/DEX/Coinlink/detail.md new file mode 100644 index 0000000..5de113d --- /dev/null +++ b/projects/DeFi/DEX/Coinlink/detail.md @@ -0,0 +1 @@ +## This is detail \ No newline at end of file diff --git a/projects/DeFi/DEX/Coinlink/info.json b/projects/DeFi/DEX/Coinlink/info.json new file mode 100644 index 0000000..7018286 --- /dev/null +++ b/projects/DeFi/DEX/Coinlink/info.json @@ -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" + } +} \ No newline at end of file diff --git a/projects/DeFi/category.json b/projects/DeFi/category.json new file mode 100644 index 0000000..ee3a0f8 --- /dev/null +++ b/projects/DeFi/category.json @@ -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." + } + ] +} \ No newline at end of file diff --git a/projects/features.json b/projects/features.json new file mode 100644 index 0000000..0ff10c7 --- /dev/null +++ b/projects/features.json @@ -0,0 +1,12 @@ +[ + { + "key": "3dArt", + "label": "3D and Art", + "status": "active" + }, + { + "key": "2dAction", + "label": "2D and Action", + "status": "active" + } +] \ No newline at end of file diff --git a/projects/glossaries.json b/projects/glossaries.json new file mode 100644 index 0000000..0477ec6 --- /dev/null +++ b/projects/glossaries.json @@ -0,0 +1,10 @@ +[ + { + "name": "table1", + "description": "This is the glossary for table 1" + }, + { + "name": "table2", + "description": "This is the glossary for table 1" + } +] \ No newline at end of file diff --git a/projects/socials.json b/projects/socials.json new file mode 100644 index 0000000..9d5bf92 --- /dev/null +++ b/projects/socials.json @@ -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" + } +] \ No newline at end of file