mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-21 01:01:30 +03:00
13 lines
261 B
JavaScript
13 lines
261 B
JavaScript
const express = require('express');
|
|
require('dotenv').config();
|
|
|
|
const app = express();
|
|
const PORT = process.env.PORT || 5005;
|
|
|
|
app.get('/', (req, res) => {
|
|
res.send('hello');
|
|
})
|
|
|
|
app.listen(PORT, () => {
|
|
console.log(`Server is running on port ${PORT}`);
|
|
}) |