Skip to content

Commit fe3cb93

Browse files
author
Colton Herrod
committed
Merge remote-tracking branch 'upstream/master'
2 parents 7ea9d82 + ee18f9f commit fe3cb93

File tree

47 files changed

+11852
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+11852
-222
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ install:
88

99
script:
1010
- npm run docs
11+
- npm run validate
1112
- ./check-if-readme-is-up-to-date.sh

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ serverless install -u https://github.com/serverless/examples/tree/master/folder-
8787
| [Aws Single Page App Via Cloudfront](https://github.com/serverless/examples/tree/master/aws-node-single-page-app-via-cloudfront) <br/> Demonstrating how to deploy a Single Page Application with Serverless | nodeJS |
8888
| [Serverless Single Page App Plugin](https://github.com/serverless/examples/tree/master/aws-node-single-page-app-via-cloudfront/serverless-single-page-app-plugin) <br/> A plugin to simplify deploying Single Page Application using S3 and CloudFront | nodeJS |
8989
| [Aws Node Stripe Integration](https://github.com/serverless/examples/tree/master/aws-node-stripe-integration) <br/> This example for Stripe integration using AWS Lambda and API Gateway. | nodeJS |
90+
| [Aws Node Line Echo Bot](https://github.com/serverless/examples/tree/master/aws-node-telegram-echo-bot) <br/> This is a simple echo bot on Telegram | nodeJS |
9091
| [Aws Text Analysis Via Sns Post Processing](https://github.com/serverless/examples/tree/master/aws-node-text-analysis-via-sns-post-processing) <br/> Example demonstrates how to setup a simple data processing pipeline | nodeJS |
9192
| [Aws Node Twilio Send Text Message](https://github.com/serverless/examples/tree/master/aws-node-twilio-send-text-message) <br/> Send a text message via twilio from aws lambda. [See live demo](http://twilio-serverless-example.surge.sh) | nodeJS |
9293
| [Baddadjokesbot](https://github.com/serverless/examples/tree/master/aws-node-twitter-joke-bot) | nodeJS |
@@ -131,6 +132,7 @@ serverless install -u https://github.com/serverless/examples/tree/master/folder-
131132
| [Openwhisk Swift Scheduled Cron](https://github.com/serverless/examples/tree/master/openwhisk-swift-scheduled-cron) <br/> Example of creating a Swift function that runs as a cron job using the serverless schedule event. | swift |
132133
| [Openwhisk Swift Simple Http Endpoint](https://github.com/serverless/examples/tree/master/openwhisk-swift-simple-http-endpoint) <br/> Example demonstrates how to setup a simple HTTP endpoint using Swift function with OpenWhisk. | swift |
133134
| [Openwhisk Swift Simple](https://github.com/serverless/examples/tree/master/openwhisk-swift-simple) <br/> Example demonstrates how to setup a simple Swift function with OpenWhisk. | swift |
135+
| [Twilio.node Forward Call](https://github.com/serverless/examples/tree/master/twilio-node-forward-call) <br/> Example demonstrating Twilio Runtime support with an endpoint that returns TwiML to forward a phone call | nodeJS |
134136

135137
<!-- AUTO-GENERATED-CONTENT:END -->
136138

@@ -155,6 +157,7 @@ serverless install -u https://github.com/author/project -n my-project
155157
| **[Amazon Kinesis Streams Fan Out Via Kinesis Analytics](https://github.com/alexcasalboni/kinesis-streams-fan-out-kinesis-analytics)** <br/> Use [Amazon Kinesis Analytics](https://aws.amazon.com/kinesis/analytics/) to fan-out your Kinesis Streams and avoid read throttling. | [alexcasalboni](http://github.com/alexcasalboni) |
156158
| **[Commenting Api](https://github.com/AyoubEd/serverless_typescript_graphQl_commentingService)** <br/> A commenting api using Serverless Typescript GraphQl and Redis | [AyoubEd](http://github.com/AyoubEd) |
157159
| **[Daily Instance Backups With Ami Rotation](https://github.com/AndrewFarley/AWSAutomatedDailyInstanceAMISnapshots)** <br/> A simple Python application which scans through your entire AWS account for tagged instances, makes daily AMIs of them, and rotates their backups automatically | [AndrewFarley](http://github.com/AndrewFarley) |
160+
| **[Demo Project For Serverless Migrate Plugin](https://github.com/EliuX/serverless-migrate-plugin/tree/master/example)** <br/> An example about how to use migrations in your serverless project with serverless-migrate-plugin | [EliuX](http://github.com/EliuX) |
158161
| **[Dropbucket Serverless File Sharing](https://github.com/marksteele/drop-bucket)** <br/> A serverless file sharing app powered by Cognito/S3/Lambda/API Gateway. Includes a React single-page app UI and virus scanning. | [marksteele](http://github.com/marksteele) |
159162
| **[Fotopia Serverless](https://github.com/mbudm/fotopia-serverless)** <br/> A photo archive web app including API, storage and face detection using serverless framework | [mbudm](http://github.com/mbudm) |
160163
| **[Json Serverless](https://github.com/pharindoko/json-serverless)** <br/> A simple & cheap serverless REST API using [json-server](https://github.com/typicode/json-server) in combination with AWS Lambda / S3 and the serverless framework | [pharindoko](http://github.com/pharindoko) |
@@ -213,6 +216,7 @@ serverless install -u https://github.com/author/project -n my-project
213216
| **[Serverless + Medium Text To Speech](https://github.com/RafalWilinski/serverless-medium-text-to-speech)** <br/> Serverless-based, text-to-speech service for Medium articles | [RafalWilinski](http://github.com/RafalWilinski) |
214217
| **[Serverless Dotnet Boilerplate](https://github.com/pharindoko/serverlessDotNetSample)** <br/> A serverless starter solution for .NET Core, ready for local debugging in VS Code, HTTP Endpoint, etc. | [pharindoko](http://github.com/pharindoko) |
215218
| **[Serverless Aws Rekognition Finpics](https://github.com/rgfindl/finpics)** <br/> Use AWS Rekognition to provide a faces search of finpics.com | [rgfindl](http://github.com/rgfindl) |
219+
| **[Serverless Api Typescript Template](https://github.com/JoshuaToth/serverless-api-typescript-template)** <br/> A starter template for a Serverless API using Typescript and Jest | [JoshuaToth](http://github.com/JoshuaToth) |
216220
| **[Serverless Blog To Podcast](https://github.com/SC5/serverless-blog-to-podcast)** <br/> Service that reads RSS feed and converts the entries to a podcast feed and audio files using Amazon Polly | [SC5](http://github.com/SC5) |
217221
| **[Serverless Cloudwatch Rds Custom Metrics](https://github.com/AndrewFarley/serverless-cloudwatch-rds-custom-metrics)** <br/> A NodeJS-based MySQL RDS Data Collection script to push Custom Metrics to Cloudwatch with Serverless | [AndrewFarley](http://github.com/AndrewFarley) |
218222
| **[Serverless Delivery Framework](https://github.com/99xt/serverless-delivery-framework)** <br/> This is a boilerplate for version release pipeline with serverless framework | [99xt](http://github.com/99xt) |

aws-dotnet-rest-api-with-dynamodb/README.MD

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<!--
2+
title: 'Dot Net REST API with DynamoDB'
3+
description: 'Setup a REST API w/ DynamoDB using Dot Net Core 2.1'
4+
framework: v1
5+
platform: AWS
6+
language: CSharp
7+
authorLink: 'https://github.com/samueleresca'
8+
authorName: 'Samuele Resca'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/8921095?v=4&s=140'
10+
-->
111

212
# DotNetServerless
313

aws-ffmpeg-layer/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!--
2+
title: .'AWS FFmepg Layer'
3+
description: 'AWS FFmepg Layer & a service using it to create GIFs'
4+
framework: v1
5+
platform: AWS
6+
language: nodeJS
7+
authorLink: 'https://github.com/tdhopper'
8+
authorName: 'Timothy Hopper'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/611122?v=4&s=140'
10+
-->
11+
112
# AWS FFmepg Layer & a service using it to create GIFs
213
```
314
git clone https://github.com/serverless/examples

aws-golang-auth-examples/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!--
2+
title: .'AWS Golang Auth'
3+
description: 'This example shows you how to setup auth in front of a AWS Lambda function'
4+
framework: v1
5+
platform: AWS
6+
language: Go
7+
authorLink: 'https://github.com/srbry'
8+
authorName: 'srbry'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/16936753?v=4&s=140'
10+
-->
11+
112
# Go Serverless Examples
213

314
A few example of AWS lambda functions written in GoLang.

aws-golang-dynamo-stream-to-elasticsearch/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!--
2+
title: .'DynamoDB Stream To Elasticsearch'
3+
description: 'Stream data from DynamoDB to Elasticsearch'
4+
framework: v1
5+
platform: AWS
6+
language: Go
7+
authorLink: 'https://github.com/jalie'
8+
authorName: 'Jan Liesendahl'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/548657?v=4&s=140'
10+
-->
11+
112
# DynamoDB Stream To Elasticsearch
213
## Deploying cloud information costs $$, Elasticsearch is not part of the free tier, as such please deploy with caution.
314

aws-golang-googlemap/Gopkg.lock

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws-golang-googlemap/Gopkg.toml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
22+
23+
[[constraint]]
24+
name = "github.com/aws/aws-lambda-go"
25+
version = "1.x"

aws-golang-googlemap/Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.PHONY: build clean deploy
2+
3+
build:
4+
dep ensure -v
5+
env GOOS=linux go build -ldflags="-s -w" -o bin/getgeolocation getgeolocation/main.go
6+
env GOOS=linux go build -ldflags="-s -w" -o bin/getsearchlocation getsearchlocation/main.go
7+
env GOOS=linux go build -ldflags="-s -w" -o bin/getnearbylocation getnearbylocation/main.go
8+
env GOOS=linux go build -ldflags="-s -w" -o bin/getgeodetail getgeodetail/main.go
9+
10+
clean:
11+
rm -rf ./bin ./vendor Gopkg.lock
12+
13+
deploy: clean build
14+
sls deploy --verbose

aws-golang-googlemap/README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
title: .'google map api'
3+
description: 'Serverless example using golang to hit google map api'
4+
framework: v1
5+
platform: AWS
6+
language: Go
7+
authorLink: 'https://github.com/pramonow'
8+
authorName: 'Pramono Winata'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/28787057?v=4&s=140'
10+
-->
11+
12+
13+
14+
# Serverless-golang google map api
15+
Serverless example using golang to hit google map api'
16+
17+
when changing any main file call make comment in the folder directory then call serverless deploy -v
18+
change your API KEY in the yml file
19+
20+
There are three endpoint provided:
21+
1. GET Geolocation endpoint with address param (geolocation?address=$address)
22+
2. GET Nearby Location with location and radius param, also name which is optional param (nearbylocation?name=$name&radius=$radius)
23+
3. GET GeoDetail with place id (geodetail?placeid=$placeid)
24+
25+
getgeodetail:
26+
handler: bin/getgeodetail
27+
events:
28+
- http:
29+
path: geodetail
30+
method: get
31+
request:
32+
parameters:
33+
querystrings:
34+
placeid: true

0 commit comments

Comments
 (0)