app js express template

Solutions on MaxInterview for app js express template by the best coders in the world

showing results for - "app js express template"
Josh
24 Jun 2019
1const express = require("express")
2const bodyParser = require("body-parser");
3const app = express();
4
5app.use(bodyParser.urlencoded({
6    extended: true
7}));
8
9
10app.get("/", (req, res) => {
11    res.send("Hello");
12})
13
14app.listen(3000, ()=> {
15    console.log("Server started on port 3000");
16})