Files
kongruity/backend/server.ts

9 lines
172 B
TypeScript

import 'dotenv/config';
import app from './app.js';
const PORT = process.env.PORT || 3001;
app.listen(PORT, () => {
console.log(`Backend running on port ${PORT}`);
});