MCPcopy Create free account
hub / github.com/LeChatErrant/API-template / main

Function main

src/index.ts:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7const { port } = config;
8
9async function main() {
10 await waitApp();
11 await seedAdminUser();
12 app.listen(port, () => logger.info(`Server listening on port ${port} on mode ${config.mode}...`));
13}
14
15main()
16 .catch((error) => {

Callers 1

index.tsFile · 0.85

Calls 2

waitAppFunction · 0.85
seedAdminUserFunction · 0.85

Tested by

no test coverage detected