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,25 @@
require('dotenv').config();
const mikrotik = require('./services/mikrotikService');
async function test() {
const inputs = ['2000109'];
console.log("Testing Fuzzy Interface Matching...");
for (const input of inputs) {
console.log(`\nSearching for '${input}'...`);
try {
// We will invoke the method I am about to write
const found = await mikrotik.findInterface(input);
if (found) {
console.log(`MATCH: '${input}' -> '${found.name}'`);
} else {
console.log(`NO MATCH for '${input}'`);
}
} catch (e) {
console.error(e.message);
}
}
}
test();