url-shortener/src/service/server.js
2022-02-23 12:29:46 +01:00

8 lines
229 B
JavaScript

require('dotenv').config()
const express = require('express')
const app = express()
const PORT = process.env.PORT
// Listen for incoming requests
app.listen(PORT, () => console.log(`server started, listening PORT ${PORT}`))