Uses the pg node package. Documenatation for that library is here: https://node-postgres.com/
create table test (testcolumn varchar(20));
export DB_USER='' DB='' DB_PASS='' DB_HOST='' DB_PORT='' DB_MAX_CLIENTS='' DB_IDLE_TIMEOUT_MS=''
http://localhost:3000/healthcheck and root return healthcheck
http://localhost:3000/servertime - returns servertime
http://localhost:3000/transaction - deletes then inserts into your DB using a transaction