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

Function startServer

run/idp-sql/index.js:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26const PORT = parseInt(process.env.PORT) || 8080;
27
28const startServer = () => {
29 app.listen(PORT, () => logger.info(`${pkg.name}: listening on port ${PORT}`));
30};
31
32const main = async () => {
33 let project = process.env.GOOGLE_CLOUD_PROJECT;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected