feat(backend): bootstrap express app with error handling
This commit is contained in:
7
packages/backend/src/index.ts
Normal file
7
packages/backend/src/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createApp } from './app.js';
|
||||
|
||||
const PORT = Number(process.env.PORT ?? 3000);
|
||||
const app = createApp();
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Backend listening on http://localhost:${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user