{"size": 375, "ext": "js", "max_stars_repo_path": "examples/util/index.js", "max_stars_repo_name": "mdoria12/fastify-metrics", "max_stars_repo_stars_event_min_datetime": "2021-11-05T14:42:58.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-15T09:54:50.000Z", "max_issues_repo_path": "examples/util/index.js", "max_issues_repo_name": "mdoria12/fastify-metrics", "max_issues_repo_issues_event_min_datetime": "2021-11-05T15:48:58.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-28T09:10:08.000Z", "max_forks_repo_path": "examples/util/index.js", "max_forks_repo_name": "immobiliare/fastify-metrics", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 51, "max_issues_count": 151, "max_forks_count": null, "avg_line_length": 25.0, "max_line_length": 74, "alphanum_fraction": 0.6106666667}
'use strict';

exports.start = async function (app, mock, fastifyPort, mockPort) {
    try {
        await mock.start(mockPort);
        await app.listen(fastifyPort);
        console.log(`Server listening on port ${app.server.address().port}
Routes
${app.printRoutes({ commonPrefix: false })}`);
    } catch (e) {
        console.error(e);
        process.exit(1);
    }
};
