text: 'use strict';
  
  require('dotenv').config();
  
  const express = require('express');
  // const path = require('path');
  const app = express();
  app.set('view engine', 'ejs');
  
  app.use(express.static('./public'));
  
  app.get('/', (request, response) => {
    response.render('index');
  });
  
  
  
  
  
  const cors = require('cors');
  app.use(cors());
  
  // app.set('views', path.join(__dirname, 'views'));
  
  const PORT = process.env.PORT || 3000;
  app.listen(PORT, () =>
    console.log(`heard on ${PORT}`));
  