NestJS 7 + Azure Func
See original GitHub issueInfinity load.
GET http://localhost:7071/api/swagger-ui-init.js net::ERR_ABORTED 404 (Not Found)
main.azure.ts
...
// SWAGGER CONFIGURATION
const options = new DocumentBuilder()
.setTitle('Test')
.setDescription('API Documentation')
.setVersion('1.0')
.addBearerAuth()
.build();
// RUN SWAGER
const document = SwaggerModule.createDocument(app, options);
SwaggerModule.setup('api', app, document);
...
package.json
...
"@azure/functions": "^1.0.3",
"@nestjs/azure-func-http": "^0.5.0",
"@nestjs/swagger": "^4.5.5",
"swagger-ui-express": "^4.1.4",
...
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (2 by maintainers)
Top Results From Across the Web
azure-func-http/README.md at master - GitHub
A progressive Node.js framework for building efficient and scalable server-side applications. NPM Version Package License NPM Downloads Travis Linux Coverage ...
Read more >Deploy NestJS App to Azure Functions - YouTube
In this tutorial we are going to deploy nestJs application to Azure functions and we will learn about using nvm, func, Azure tools...
Read more >@nestjs/azure-func-http - npm
Nest - modern, fast, powerful node.js web framework (@azure-func-http). Latest version: 0.8.0, last published: a year ago.
Read more >Deploy NestJS Serverless Apps to Azure Functions - Trilon
Azure Functions are a serverless computing execution service that enables you to run code on-demand without having to manage the allocation of ...
Read more >How to deploy a REST API to Azure Functions with Azure SQL
Deploying to Azure Functions · 7. Create a storage account · 8. Create the function app · 9. Set the DATABASE_URL environment variable...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Repository for reproduction: https://github.com/felipecassiors/nestjs-swagger-azure-func
And you can try it right now in Gitpod: https://gitpod.io/#https://github.com/felipecassiors/nestjs-swagger-azure-func
Just run:
See it works with
nest start
But not with
func host start
Any luck on updating this? having the same issue.