text: const express = require("express");
  const bodyParser = require('body-parser');
  const api = express();
  
  api.use(express.static(__dirname + "/public"));
  api.use(bodyParser.json());
  
  api.listen(3003, () => {
    console.log("API up and running!");
  });
  
  // api.get("/", (req, res) => {
  //   console.log(req);
  //   res.send("Hello, world!");
  // });
  
  api.post('/add', (req, res) => {
      console.log(req.body);
      res.send('It works!');
     });