backend/index.js

10 lines
198 B
JavaScript

const server = require('./api/server.js');
const PORT = process.env.PORT || 3001;
server.listen(PORT, () =>
console.log(
`Meeting Planner Backend listening at http://localhost:${PORT}`,
),
);