<commit_before>const sequelizeDB = require('./server/config/db.config.js');
const express = require('express');
const path = require('path');
const bodyParser = require('body-parser');
const morgan = require('morgan');

const app = express();

// api routes
const POIRoutes = require('./server/routes/poi.routes.js');
const reviewsRoutes = require('./server/routes/reviews.routes.js');
const usersRoutes = require('./server/routes/users.routes.js');

app.set('port', process.env.PORT || 3000);
app.set('json spaces', 2);  // pretty prints res.json

app.use(morgan('dev'));

// All GET requests to '/' will first look through the public folder and send files from there.
app.use('/', express.static(path.join(__dirname, 'public')));
app.use('/node_modules', express.static(path.join(__dirname, 'node_modules')));

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));

// api routes
app.use('/api/poi', POIRoutes);
app.use('/api/review', reviewsRoutes);
app.use('/api/users', usersRoutes);

app.listen(app.get('port'), function () {
  console.log('Server is listening on port', app.get('port'));
});

<commit_msg>[fix] small change<commit_after>const sequelizeDB = require('./server/config/db.config.js');
const express = require('express');
const path = require('path');
const bodyParser = require('body-parser');
const morgan = require('morgan');

const app = express();

// api routes
const POIRoutes = require('./server/routes/poi.routes.js');
const reviewsRoutes = require('./server/routes/reviews.routes.js');
const usersRoutes = require('./server/routes/users.routes.js');

app.set('port', process.env.PORT || 3000);
app.set('json spaces', 2); // pretty prints res.json

app.use(morgan('dev'));

// All GET requests to '/' will first look through the public folder and send files from there.
app.use('/', express.static(path.join(__dirname, 'public')));
app.use('/node_modules', express.static(path.join(__dirname, 'node_modules')));

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));

// api routes
app.use('/api/poi', POIRoutes);
app.use('/api/review', reviewsRoutes);
app.use('/api/users', usersRoutes);

app.listen(app.get('port'), function () {
  console.log('Server is listening on port', app.get('port'));
});

{'fraction_non_alphanumeric': 0.19692307692307692, 'fraction_numerical': 0.004395604395604396, 'mean_word_length': 5.447592067988668, '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': '5905098', 'n_tokens_mistral': 717, 'n_tokens_neox': 717, 'n_words': 162}