MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / startServer

Function startServer

run/logging-manual/index.js:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18const SERVICE = require('./package').name;
19
20const startServer = () => {
21 app.listen(PORT, () => console.log(`${SERVICE} listening on port ${PORT}`));
22};
23
24const main = async () => {
25 if (!process.env.GOOGLE_CLOUD_PROJECT) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected