Skip to content

anani112/serverless-nestjs

 
 

Repository files navigation

serverless-nestjs

This is an example of creating a function that runs as nestjs using the serverless framework.

Sample publish. https://mmjdx4zxmc.execute-api.ap-northeast-1.amazonaws.com/dev/

How to copy your project

1. Install Serverless Environment

$ npm install aws-lambda aws-serverless-express express

2. copy src/index.ts and serverless.yml

This is minimum setting. if necessary, you add the setting.

How to Deploy

$ npm run prestart:prod
$ sls deploy

About

setting for nestjs use serverlessframework and lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.0%
  • JavaScript 18.0%