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

app.set('port', (process.env.PORT || 8080));

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

// views is directory for all template files
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');

app.get('/index', function(request, response) {
  response.render('pages/index');
});



app.listen(8080);
  
console.log('Node app is running on port', app.get('port'));
<commit_msg>adding more get func<commit_after>var express = require('express');
var app = express();

app.set('port', (process.env.PORT || 8080));

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

// views is directory for all template files
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');

app.get('/index', function(request, response) {
  response.render('pages/index');
});

app.get('/about', function(request, response) {
  response.render('pages/about');
});


app.get('/news', function(request, response) {
  response.render('pages/news');
});


app.listen(8080);
  
console.log('Node app is running on port', app.get('port'));

{'fraction_non_alphanumeric': 0.207020702070207, 'fraction_numerical': 0.0144014401440144, 'mean_word_length': 5.247191011235955, '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': '7158533', 'n_tokens_mistral': 364, 'n_tokens_neox': 347, 'n_words': 83}