rdlabo-team/serverless-nestjs

create multiple functions instead of monolith api

kukuandroid opened this issue · 1 comments

Hi, can you assist me on how to create multiple functions instead of monolith api? Thanks

You can create any index.ts (serverlessframework endppoint).
Like this:

  hours:
    handler: dist/src/query/hours/index.handler
    events:
      - schedule: cron(0 23,0-11 * * ? *)