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