required for server start
require("dotenv").config();
const express = require("express");
const superagent = require("superagent");
const ejs = require("ejs");
const pg = require("pg");
const server = express();
const PORT = process.env.PORT || 3000;
const client = new pg.Client(process.env.DATABASE_URL);