Installation
install express.js
app.js
const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.send("Hello from Docial Engine!");
});
const PORT = process.env.PORT || 8080;
app.listen(PORT, () => {
console.log(`Server listening on port ${PORT}...`);
});
Last updated
Was this helpful?