Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rafalwilinski/serverless-component-ts

Boilerplate for your own Serverless Component in Typescript
https://github.com/rafalwilinski/serverless-component-ts

aws aws-lambda cloud serverless serverless-components typescript

Last synced: 24 days ago
JSON representation

Boilerplate for your own Serverless Component in Typescript

Awesome Lists containing this project

README

        

# serverless-component-ts

Boilerplate for creating [Serverless Components](https://github.com/serverless/components) using Typescript.




Twitter: rafalwilinski

### 1. Install

```shell
$ npm install -g serverless
```

### 2. Create

Just create a `serverless.yml` file:

```shell
$ touch serverless.yml
```

clone component boilerplate:

```shell
git clone https://github.com/RafalWilinski/serverless-component-ts
```

edit it and build it to plain JS:

```shell
cd serverless-component-ts && npm run build
```

### 3. Configure

```yml
# serverless.yml

tsComponent:
component: '../serverless-component-ts'
inputs:
foo: bar
```

### 4. Deploy

```shell
$ serverless
```

### New to Components?

Checkout the [Serverless Components](https://github.com/serverless/components) repo for more information.

### Author

👤 **Rafal Wilinski**

- Twitter: [@rafalwilinski](https://twitter.com/rafalwilinski)
- Github: [@RafalWilinski](https://github.com/RafalWilinski)

### Show your support

Give a ⭐️ if this project helped you!