text: const express = require("express");
  const router = express.Router();
  const { accounts, users, writeJSON } = require("../data");
  
  router.get("/savings", (req, res) => {
    res.render("account", { account: accounts.savings });
  });
  router.get("/checking", (req, res) => {
    res.render("account", { account: accounts.checking });
  });
  router.get("/credit", (req, res) => {
    res.render("account", { account: accounts.credit });
  });
  
  module.exports = router