Skip to content
Azure Functions HTTP adapter for Nest framework (node.js) 🌥
TypeScript JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github
lib
schematics
.gitignore
.npmignore
.prettierrc
CONTRIBUTING.md
README.md
index.d.ts
index.js
index.ts
package-lock.json
package.json
renovate.json
tsconfig.json
tsconfig.schematics.json
tslint.json

README.md

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Discord Backers on Open Collective Sponsors on Open Collective

Description

Azure Functions HTTP module for Nest.

Installation

Using the Nest CLI:

$ nest add @nestjs/azure-func-http

Tutorial

You can read more about this integration here.

Native routing

If you don't need the compatibility with express library, you can use a native routing instead:

const app = await NestFactory.create(AppModule, new AzureHttpRouter());

AzureHttpRouter is exported from @nestjs/azure-func-http. Since AzureHttpRouter doesn't use express underneath, the routing itself is much faster.

Additional options

You can pass additional flags to customize the post-install schematic. For example, if your base application directory is different than src, use --rootDir flag:

$ nest add @nestjs/azure-func-http --rootDir app

Other available flags:

  • rootModuleFileName - the name of the root module file, default: app.module
  • rootModuleClassName - the name of the root module class, default: AppModule
  • skipInstall - skip installing dependencies, default: false

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

You can’t perform that action at this time.