2.1.0 • Published 2 years ago

@microgamma/serverless-apigator v2.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
2 years ago

@microgamma/serverless-apigator serverless npm version

serverless-apigator is a plugin for serverless to be use with @microgamma/apigator. It leverage the developer from maintain the functions section of serverless.yml so that configuration is written instead along the @Endpoint and @Lambda decorators.

The only provider supported at this moment is aws

A blue print to get you up and running quickly is available here

How to use it

Install serverless

yarn add -D serverless

Create a serverless.yml file such as

service: your-service-name # NOTE: update this with your service name

provider:
  name: aws
  runtime: nodejs12.x
  stage: dev
  region: eu-west-2

# add this plugin
plugins:
  - '@microgamma/serverless-apigator'

custom:
  apigator:
    entrypoint: handler # this is the file where the service is bootstrapped without .ts
    buildFolder: build/main # this is the folder where tsc transpiles your typescript code

# save S3 space excluding everything but build and node_modules folders
package:
  exclude:
    - ./*
    - ./**
    - '!build/**'
    - '!node_modules/**'

You won't need to provide the functions section as it will be written at runtime by this plugin.

See @microgamma for more information.

2.1.0

2 years ago

2.0.0

2 years ago

1.16.0

4 years ago

1.15.3

4 years ago

1.15.2

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.6-beta.2

4 years ago

1.14.5

4 years ago

1.14.4

4 years ago

1.12.3

4 years ago

1.12.0

4 years ago

1.10.23

5 years ago

1.10.22

5 years ago

1.10.21

5 years ago

1.10.20

5 years ago

1.10.19

5 years ago

1.10.18

5 years ago

1.10.17

5 years ago

1.10.16

5 years ago

1.10.14

5 years ago

1.10.13

5 years ago

1.10.12

5 years ago

1.10.11

5 years ago

1.10.10

5 years ago

1.10.9

5 years ago

1.10.7

5 years ago

1.10.6

5 years ago

1.10.5

5 years ago

1.10.4

5 years ago

1.10.3

5 years ago

1.10.1

5 years ago

1.4.35

5 years ago

1.4.33

5 years ago

1.4.32

5 years ago

1.4.30

5 years ago

1.4.28

5 years ago

1.4.26

5 years ago

1.4.24

5 years ago

1.4.22

5 years ago

1.4.20

5 years ago

1.4.18

5 years ago

1.4.16

5 years ago

1.4.14

5 years ago

1.4.12

5 years ago

1.4.10

5 years ago

1.4.8

5 years ago

1.4.6

5 years ago

1.4.4

6 years ago

1.4.2

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.0

6 years ago

1.2.11

6 years ago

1.2.9

6 years ago

1.2.7

6 years ago

1.2.5

6 years ago

1.2.3

6 years ago

1.2.1

6 years ago

1.1.3

6 years ago

1.1.1

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

0.7.9

6 years ago

0.7.8

6 years ago

0.7.7

6 years ago

0.7.6

6 years ago

0.7.3

6 years ago

0.7.1

6 years ago