website refactor

This commit is contained in:
2026-01-17 22:55:03 +01:00
parent 64d9e7fd16
commit 69d4cce7f1
64 changed files with 1146 additions and 1014 deletions

View File

@@ -78,9 +78,10 @@ async function bootstrap() {
// Start server
try {
await app.listen(3000);
console.log('✅ API Server started successfully on port 3000');
console.log('📚 Swagger docs: http://localhost:3000/api/docs');
const port = process.env.PORT || 3000;
await app.listen(port);
console.log(`✅ API Server started successfully on port ${port}`);
console.log(`📚 Swagger docs: http://localhost:${port}/api/docs`);
} catch (error: unknown) {
console.error('❌ Failed to start API server:', error instanceof Error ? error.message : 'Unknown error');
process.exit(1);