Initial commit: PassMaster PWA MVP

This commit is contained in:
2025-08-26 11:49:01 +02:00
commit 0623e2e29f
56 changed files with 14200 additions and 0 deletions

30
scripts/check-status.js Normal file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env node
const http = require('http');
const options = {
hostname: 'localhost',
port: 3000,
path: '/',
method: 'GET',
timeout: 5000
};
const req = http.request(options, (res) => {
console.log(`✅ Server is running! Status: ${res.statusCode}`);
console.log(`🌐 Access the app at: http://localhost:3000`);
process.exit(0);
});
req.on('error', (err) => {
console.log('❌ Server is not running or not accessible');
console.log('💡 Make sure to run: npm run dev');
process.exit(1);
});
req.on('timeout', () => {
console.log('⏰ Request timed out - server might be starting up');
process.exit(1);
});
req.end();