Answers for "app.js express template"

0

app.js express template

const express = require("express")
const bodyParser = require("body-parser");
const app = express();

app.use(bodyParser.urlencoded({
    extended: true
}));


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

app.listen(3000, ()=> {
    console.log("Server started on port 3000");
})
Posted by: Guest on June-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language