<commit_before>var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');
var passport = require('passport');
var session = require('express-session');

var port = process.env.PORT || 3000;

var mongoose = require('mongoose');
var dbConfig = require('./src/config/db.config.js')();
var db = mongoose.connect(dbConfig.URL);

app.use(express.static('public'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));
//app.use(bodyParser.urlencoded());
app.use(cookieParser());
app.use(session({
    secret: 'BloggedInSession'
}));
require('./src/config/passport.js')(app);

app.set('views', './src/views');
app.set('view engine', 'ejs');
//, 'My Posts', , 'All Users', 'All Posts', 'Logout'
var nav = [
    {
        item: 'Home',
        link: '/'
    },<commit_msg>removes debug comments<commit_after>var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');
var passport = require('passport');
var session = require('express-session');

var port = process.env.PORT || 3000;

var mongoose = require('mongoose');
var dbConfig = require('./src/config/db.config.js')();
var db = mongoose.connect(dbConfig.URL);

app.use(express.static('public'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));

app.use(cookieParser());
app.use(session({
    secret: 'BloggedInSession'
}));
require('./src/config/passport.js')(app);

app.set('views', './src/views');
app.set('view engine', 'ejs');

var nav = [
    {
        item: 'Home',
        link: '/'
    },
{'fraction_non_alphanumeric': 0.2066905615292712, 'fraction_numerical': 0.0047789725209080045, 'mean_word_length': 4.716723549488054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2568733', 'n_tokens_mistral': 554, 'n_tokens_neox': 545, 'n_words': 112}