<commit_before>'use strict';

const Hapi = require('hapi');

// Create a new server instance
const server = new Hapi.Server();

// Set the connection 
server.connection({ 
    host: 'localhost', 
    port: 3000 
});

// Start the server
server.start((err) => {
    console.log('Server running at:', server.info.uri);
});<commit_msg>added first route<commit_after>'use strict';

const Hapi = require('hapi');

// Create a new server instance
const server = new Hapi.Server();

// Set the connection 
server.connection({ 
    host: 'localhost', 
    port: 3000 
});

// Setup our initial route 
server.route({
    method: 'GET',
    path:'/menu', 
    handler: function (request, reply) {
    	// listen and respond to the browser request
        return reply('Welcome to the best pizza API in town');
    }
});

// Start the server
server.start((err) => {
    console.log('Server running at:', server.info.uri);
});
{'fraction_non_alphanumeric': 0.15098468271334792, 'fraction_numerical': 0.0087527352297593, 'mean_word_length': 3.2757009345794392, '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': '6142062', 'n_tokens_mistral': 287, 'n_tokens_neox': 272, 'n_words': 90}