<commit_before>const express = require('express');
const path = require('path');
const cors = require('cors');
// const bodyParser = require('body-parser')
require('dotenv').config();

const pg = require('./config/database.js');
const app = express();

// app.use(bodyParser.json())
// app.use(bodyParser.urlencoded({ extended: false }))
app.use(cors());
require('./config/routes.js')(app, express);

app.use(express.static(path.join(`${__dirname}/../build`)));
app.use(express.static(path.join(`${__dirname}/../public`)));<commit_msg>style(comments): remove comments<commit_after>const express = require('express');
const path = require('path');
const cors = require('cors');
require('dotenv').config();

const pg = require('./config/database.js');
const app = express();
app.use(cors());
require('./config/routes.js')(app, express);

app.use(express.static(path.join(`${__dirname}/../build`)));
app.use(express.static(path.join(`${__dirname}/../public`)));
{'fraction_non_alphanumeric': 0.23799582463465555, 'fraction_numerical': 0.0, 'mean_word_length': 6.434108527131783, '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': '300969', 'n_tokens_mistral': 297, 'n_tokens_neox': 298, 'n_words': 50}