require('dotenv').config();
const { createApp } = require('./app');

const app = createApp();
const port = process.env.PORT;

app.listen(port, () => {
  console.log(`Server running on http://localhost:${port}`)
});
