Skip to main content

How can we render a plain HTML?

Published 1 min readMarkdown
Part of seriesExpress
How can we render a plain HTML?
const express = require("express");
const app = express();
const port = 3000;

app.get("/", (req, res) => {
  res.send("Hello world!");
});

app.listen(port, () => {
  console.log("Application started and Listening on port ${port}");
});

About the author

  • Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference

No comments yet. Be the first to comment.

More from this blog