VIBN Frontend for Coolify deployment

This commit is contained in:
2026-02-15 19:25:52 -08:00
commit 40bf8428cd
398 changed files with 76513 additions and 0 deletions

27
trigger-extraction.js Normal file
View File

@@ -0,0 +1,27 @@
// Manually trigger extraction to see what happens
const projectId = 'Sih2VRdZeBglpVNc4eFS';
async function triggerExtraction() {
try {
console.log('Triggering extraction for project:', projectId);
console.log('Watch the terminal running "npm run dev" for logs...\n');
const response = await fetch(`http://localhost:3000/api/projects/${projectId}/run-extraction`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer fake-token-for-local-dev' // Will fail auth but trigger logging
}
});
const text = await response.text();
console.log('Response status:', response.status);
console.log('Response body:', text);
} catch (error) {
console.error('Error:', error.message);
}
}
triggerExtraction();