<commit_before>var express = require('express');
var favicon = require('serve-favicon');
var app = express();

app.use('/',  express.static(__dirname + '/'));

app.use(favicon(__dirname + '/public/img/favicon.ico'));

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

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

app.listen(PORT, function () {
    console.log('Server Running on '+ PORT);
});<commit_msg>add router structure in server<commit_after>const express = require('express');
const favicon = require('serve-favicon');
const app = express();
const bodyParser = require('body-parser')

app.use('/',  express.static(__dirname + '/'));

app.use(favicon(__dirname + '/public/img/favicon.ico'));

app.use(bodyParser.json());

const PORT = process.env.PORT || 3000;

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

app.listen(PORT, function () {
    console.log('Server Running on '+ PORT);
});

app.use('/', require('./server/api'));
{'fraction_non_alphanumeric': 0.21341463414634146, 'fraction_numerical': 0.008130081300813009, 'mean_word_length': 4.933734939759036, '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': '7333789', 'n_tokens_mistral': 330, 'n_tokens_neox': 313, 'n_words': 66}