mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
feat: implement PostgreSQL-based bulk fetching for article and sales data to replace HTTP API calls
This commit is contained in:
1 parent
64da878abb
commit
32c1e06782
3 files changed
+35
-21
No files matched your search
@@ -0,0 +1,7 @@
|
||||
const fs = require('fs');
|
||||
async function test() {
|
||||
const res = await fetch("https://api.ffnancy.fr/api/performance/dashboard?date=2024-04-20");
|
||||
const data = await res.json();
|
||||
console.log(JSON.stringify(data.top10_ca?.[0] || {}, null, 2));
|
||||
}
|
||||
test();
|
||||
Reference in new issue
Block a user