express server create basic

PHOTO EMBED

Tue Aug 31 2021 02:35:43 GMT+0000 (Coordinated Universal Time)

Saved by @faisals #node

const express = require('express');
const app = express();
const PORT = process.env.PORT || 4001;

// Invoke the app's `.listen()` method below:
app.listen(PORT,() => {
  console.log(`Server is listening on port ${PORT}`);
});
content_copyCOPY