File size: 312 Bytes
de5ba48
 
 
153e730
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
require('dotenv').config();
const app = require('./src/app');

const PORT = Number(process.env.PORT || 7860);
const HOST = '0.0.0.0';

app.listen(PORT, HOST, () => {
  console.log(`🚀 CarPool backend running at http://${HOST}:${PORT}`);
  console.log(`🔗 Health endpoint: http://${HOST}:${PORT}/health`);
});