<commit_before>var express = require('express');
var pgp = require('pg-promise')();
var db = pgp(process.env.DATABASE_URL ? process.env.DATABASE_URL : "postgres://paezdev:devenv005@localhost:5432/bank");
var app = express();

app.use(express.static(__dirname));
app.set('views', __dirname);
app.engine('html', require('ejs').renderFile);
app.set('view engine', 'html');

app.get('/', function (req, res) {
  res.render('index.html');
})

app.listen(process.env.PORT || 3000);

console.log("App running at http://localhost:" + (process.env.PORT ? process.env.PORT : 3000));

db.none('INSERT INTO users(first_name, last_name, username, email, password) VALUES($1, $2, $3, $4, $5)', ['John', 'Smith', 'jsmith', '<EMAIL>', 'smith005'])
    .then(() => {
        console.log("Success! Item inserted to db.");
    })
    .catch(error => {
        console.log("Sad-face. There was an error. =>" + error);
    });<commit_msg>Commented out a pgdb test in node.js.<commit_after>var express = require('express');
var pgp = require('pg-promise')();
var db = pgp(process.env.DATABASE_URL ? process.env.DATABASE_URL : "postgres://paezdev:devenv005@localhost:5432/bank");
var app = express();

app.use(express.static(__dirname));
app.set('views', __dirname);
app.engine('html', require('ejs').renderFile);
app.set('view engine', 'html');

app.get('/', function (req, res) {
  res.render('index.html');
})

app.listen(process.env.PORT || 3000);

console.log("App running at http://localhost:" + (process.env.PORT ? process.env.PORT : 3000));

// db.none('INSERT INTO users(first_name, last_name, username, email, password) VALUES($1, $2, $3, $4, $5)', ['John', 'Smith', 'jsmith', '<EMAIL>', 'smith005'])
//     .then(() => {
//         console.log("Success! Item inserted to db.");
//     })
//     .catch(error => {
//         console.log("Sad-face. There was an error. =>" + error);
//     });
{'fraction_non_alphanumeric': 0.22139435870143692, 'fraction_numerical': 0.024481106971793506, 'mean_word_length': 4.340909090909091, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '267501', 'n_tokens_mistral': 672, 'n_tokens_neox': 641, 'n_words': 138}