Express JS

Express is designed for building web applications and APIs. It is the de facto standard server framework for NodeJS. Express is the backend part of the MERN stack.

const { response } = require("express");
const express = require("express");
const app = express();

// First Route.
app.get("/home", (req, res, next) => {
  console.log(request);
  response.send("<h1>Hello World !</h1>");
});

app.listen(3000);

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.