2.1.0 • Published 3 years ago

@microgamma/serverless-apigator v2.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
3 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

3 years ago

2.0.0

3 years ago

1.16.0

5 years ago

1.15.3

5 years ago

1.15.2

5 years ago

1.15.1

5 years ago

1.15.0

5 years ago

1.14.6-beta.2

5 years ago

1.14.5

5 years ago

1.14.4

5 years ago

1.12.3

5 years ago

1.12.0

5 years ago

1.10.23

6 years ago

1.10.22

6 years ago

1.10.21

6 years ago

1.10.20

6 years ago

1.10.19

6 years ago

1.10.18

6 years ago

1.10.17

6 years ago

1.10.16

6 years ago

1.10.14

6 years ago

1.10.13

6 years ago

1.10.12

6 years ago

1.10.11

6 years ago

1.10.10

6 years ago

1.10.9

6 years ago

1.10.7

6 years ago

1.10.6

6 years ago

1.10.5

6 years ago

1.10.4

6 years ago

1.10.3

6 years ago

1.10.1

6 years ago

1.4.35

6 years ago

1.4.33

6 years ago

1.4.32

6 years ago

1.4.30

6 years ago

1.4.28

6 years ago

1.4.26

6 years ago

1.4.24

6 years ago

1.4.22

6 years ago

1.4.20

6 years ago

1.4.18

6 years ago

1.4.16

6 years ago

1.4.14

6 years ago

1.4.12

6 years ago

1.4.10

6 years ago

1.4.8

6 years ago

1.4.6

6 years ago

1.4.4

7 years ago

1.4.2

7 years ago

1.4.0

7 years ago

1.3.2

7 years ago

1.3.0

7 years ago

1.2.11

7 years ago

1.2.9

7 years ago

1.2.7

7 years ago

1.2.5

7 years ago

1.2.3

7 years ago

1.2.1

7 years ago

1.1.3

7 years ago

1.1.1

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.3

7 years ago

0.7.9

7 years ago

0.7.8

7 years ago

0.7.7

7 years ago

0.7.6

7 years ago

0.7.3

7 years ago

0.7.1

7 years ago