text: // Import express package
  const express = require('express');
  
  // Require the JSON file and assign it to a variable called `termData`
  const termData = require('./terms.json');
  const PORT = 3001;
  
  // Initialize our app variable by setting it to the value of express()
  const app = express();
  
  // Add a static route for index.html
  app.get('/', (req, res) => {
    // `res.sendFile` is Express' way of sending a file
    // `__dirname` is a variable that always returns the directory that your server is running in
    res.sendFile(__dirname + '/index.html');
  });
  
  app.get('/', (req, res) => res.send('Visit http://localhost:3001/api'));
  
  // res.json() allows us to return JSON instead of a buffer, string, or static file
  app.get('/api', (req, res) => res.json(termData));
  
  app.listen(PORT, () =>
    console.log(`Example app listening at http://localhost:${PORT}`)
  );
  