text: //Same for all javascritp template tengines
  const express = require('express')
  var bodyParser = require('body-parser');
  const app = express()
  app.use(bodyParser.json());
  app.use(bodyParser.urlencoded({ extended: true }));
  
  //Dependent of Templating engine
  var nunjucks = require('nunjucks');
  const port = 5062
  
  
  function getHTML(input){
      var template =`<!DOCTYPE html><html><body>
      <form action="/" method="post">
          First name:<br>
      <input type="text" name="name" value="">
      <input type="submit" value="Submit">
      </form><p>Hello `+input+`</p></body></html>`
  
      nunjucks.configure({ autoescape: true });
      html = nunjucks.renderString(template, { username: 'James' });
      console.log(input)
      console.log(html);
      return html;
  }
  
  
  app.post('/', (request, response) => {
      var input = request.param('name', "")
      var html = getHTML(input)
      response.send(html);
  })
  
  
  app.get('/', (request, response) => {
      var html = getHTML("")
      response.send(html)
    })
  
  
  app.listen(port, (err) => {
  if (err) {
      
      return console.log('something bad happened', err)
  }
  
  console.log(`server is listening on ${port}`)
  })
  
  