<commit_before>require('dotenv').config();
const express = require('express');
const bodyParser = require('body-parser');
// routing modules
const noteRouter = require('./routes/notesRouter');

const app = express();

// server stuff here

// middleware
app.use(bodyParser());
// serve public files
app.use(express.static('client/public'));

// serve public
app.use(express.static('client/public'));


// routing
app.use('/api', noteRouter);

// initialize server
app.listen(3000, () => {
  console.log('Plato is listening on port 3000 ...');
});

module.exports = app;<commit_msg>(cleanup) Delete excess static serve function<commit_after>require('dotenv').config();
const express = require('express');
const bodyParser = require('body-parser');
// routing modules
const noteRouter = require('./routes/notesRouter');

const app = express();

// server stuff here

// middleware
app.use(bodyParser());
// serve public files
app.use(express.static('client/public'));

// routing
app.use('/api', noteRouter);

// initialize server
app.listen(3000, () => {
  console.log('Plato is listening on port 3000 ...');
});

module.exports = app;
{'fraction_non_alphanumeric': 0.18165784832451498, 'fraction_numerical': 0.014109347442680775, 'mean_word_length': 4.761421319796955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3778452', 'n_tokens_mistral': 340, 'n_tokens_neox': 321, 'n_words': 83}