feat: add Express API base structure

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-01-22 01:50:22 +00:00
parent 830e98625d
commit af617627a4
7 changed files with 154 additions and 0 deletions

9
apps/api/src/index.ts Normal file
View File

@@ -0,0 +1,9 @@
import { app } from './app.js';
import { env } from './config/env.js';
const PORT = parseInt(env.PORT, 10);
app.listen(PORT, () => {
console.log(`🚀 API Server running on http://localhost:${PORT}`);
console.log(`📊 Environment: ${env.NODE_ENV}`);
});