11 lines
296 B
JavaScript
11 lines
296 B
JavaScript
const app = require("./api/server");
|
|
const PORT = process.env.PORT || 3000;
|
|
|
|
app.get('/', (req, res) =>
|
|
res.status(200).send('<h2>Welcome to Meeting Planner Backend API service.</h2>'),
|
|
);
|
|
|
|
app.listen(PORT, () =>
|
|
console.log(`Meeting Planner Backend listening at http://localhost:${PORT}`),
|
|
);
|