text: let express = require('express')
  let app = express()
  let port = process.env.PORT || 3000
  
  app.set('view engine', 'pug')
  app.use(express.static(__dirname + '/' + 'public/'))
  
  app.get('/', (req, res) => {
      (async () => {
          let memes = await require('./modules/root')
          res.render('index.pug', {
              memes
          })
      })()
  })
  
  app.get('/editor/', (req, res) => {
      res.render('editor.pug', {
          template : req.query.template
      })
  })
  
  app.listen(port)