flame/server.js

13 lines
261 B
JavaScript
Raw Normal View History

2021-05-06 20:03:31 +03:00
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}`);
})