feat: Initialize project with core dependencies, Vultr API client, customer database service, and migration documentation.

This commit is contained in:
2026-02-06 18:11:28 +08:00
parent 73366f4395
commit 41c2fa5fcc
2618 changed files with 852274 additions and 1449 deletions

View File

@@ -0,0 +1,22 @@
require('dotenv').config();
const mikrotik = require('./services/mikrotikService');
async function test() {
console.log("Searching for interface 'vlan_88_PtP_Dell'...");
try {
const interfaces = await mikrotik.getInterfaces();
const target = interfaces.find(i => i.name === 'vlan_88_PtP_Dell');
if (target) {
console.log("Interface Found:");
console.log(target);
} else {
console.log("Interface 'vlan_88_PtP_Dell' NOT FOUND.");
console.log("Total interfaces:", interfaces.length);
}
} catch (error) {
console.error("Test Failed:", error);
}
}
test();