Adding api (#11)

This commit was merged in pull request #11.
This commit is contained in:
2024-05-21 17:26:34 -05:00
committed by GitHub
parent 721b20b116
commit 4fc0401ddf
27 changed files with 9564 additions and 3 deletions

7
api/main/index.ts Normal file
View File

@@ -0,0 +1,7 @@
import { Context, HttpRequest } from '@azure/functions';
import { AzureHttpAdapter } from '@nestjs/azure-func-http';
import { createApp } from '../src/main.azure';
export default function(context: Context, req: HttpRequest): void {
AzureHttpAdapter.handle(createApp, context, req);
}