-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.json
454 lines (454 loc) · 19.8 KB
/
examples.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
[
{
"name": "create-react-app-lambda",
"description": "Create React App with baked in Netlify functions support",
"code": "https://github.com/netlify/create-react-app-lambda"
},
{
"name": "serverless-auth-strategies",
"description": "How to protected & scoped down functions to specific users",
"code": "https://github.com/DavidWells/serverless-auth-strategies"
},
{
"name": "verify-okta",
"description": "Verify an Okta token with Go",
"code": "https://github.com/netlify/verify-okta"
},
{
"name": "send-email-via-aws-sns",
"description": "Sends a question submitted from HTML question form via AWS SES. This example connects to an external AWS account",
"code": "https://github.com/frzng/jamstack-experiments/blob/08f8a7edc014e076334a4d72e29e34ccdedcb8b1/_hooks/send-question.js"
},
{
"name": "stripe-payment-processing",
"description": "stripe payment processing ",
"code": "https://github.com/alexmacarthur/netlify-lambda-function-example/blob/68a0cdc05e201d68fe80b0926b0af7ff88f15802/lambda-src/purchase.js#L43"
},
{
"name": "form-spam-filter",
"description": "Filter form spam and send to Zapier webhook",
"code": "https://github.com/chrisjm/chrisjmears.com/blob/0361a03991b6a9ddd27d0514bc714b29a37908e2/js/spam-filter.js"
},
{
"name": "send-email-via-nodemailer",
"description": "send email via nodemailer",
"code": "https://github.com/kicholen/makeithappen/blob/79b9c8f3a7238dc75308f9a69d769d7cda7dd522/func/sendMail.js"
},
{
"name": "send-email-via-sendgrid",
"description": "send email via sendgrid",
"code": "https://github.com/francoislesenne/Blog-joellesenne/blob/721bccce911530628d1097a192a5b9828b0032ea/src/sendgrid/app.js"
},
{
"name": "netlify-headless-site",
"description": "Serve entire site via Netlify functions + dynamic serverside HTML rendering",
"code": "https://github.com/rabbah/www/tree/56a7ce1a24df26db571719c6805242b1ff121617/src"
},
{
"name": "fetch-files-from-google-drive",
"description": "List files from google drive API",
"code": "https://github.com/JustinBeckwith/fileLister/blob/91b7af9fad934b519343d856753469744289bfbb/src/files.js"
},
{
"name": "ping-superfeedr-on-deploy",
"description": "Ping Superfeedr RSS, Atom, or JSON feeds on successful deploy. Uses event driven functions",
"code": "https://github.com/anarchivist/matienzo.org/blob/80d1a840fffa6ed9f1bd940ee4635aa4da39cd14/_functions/deploy-succeeded.js"
},
{
"name": "save-data-to-google-sheets",
"description": "Save emails to googlesheets ",
"code": [
"https://github.com/grod220/CCS-B.B.Warfield/blob/master/lambda/googleSheets.js",
"https://github.com/netlify/swag-site/blob/master/lambda/stash-in-sheets.js"
]
},
{
"name": "progressive-form-enhancement-via-functions",
"description": "Handle Ajax & normal form POST submissions via functions",
"code": "https://github.com/DavidWells/progressive-enhancement-form-functions/blob/master/functions/form-handler.js",
"url": "https://progressive-enhancement-form.netlify.com/"
},
{
"name": "process-upload-send-to-trello-slack-mailgun",
"description": "Process form file upload and send to results to trello, slack, & mailgun",
"code": "https://github.com/NimbusForWork/nimbusforwork.com/blob/6641ee3d5a1faad3deb6bc5734ae05b521bb9b3b/src/lambda/form.js"
},
{
"name": "mailchimp-landing-page",
"description": "Landing page with mailchimp",
"code": "https://github.com/tobilg/netlify-functions-landingpage/blob/169de175d04b165b5d4801b09cb250cd9a740da5/src/lambda/signup.js"
},
{
"name": "ifttt-to-flick-instagram-make-new-github-post",
"description": "Webhook from IFTTT when new Flickr photo with tag #blog create github file and post. Automated photo blog",
"code": [
"https://github.com/rretsiem/renem.net/blob/574b1c5091e993b520e23f993a6c46069e92cdb0/src/functions/flickr-webhook.js",
"https://github.com/rretsiem/renem.net/blob/574b1c5091e993b520e23f993a6c46069e92cdb0/src/functions/instagram-webhook.js"
],
"url": "https://renem.net/photos/"
},
{
"name": "bus-schedule-tracker",
"description": "Tracking bus schedules ",
"code": "https://github.com/edumentab/my-next-bus/blob/master/src/functions/departures.js"
},
{
"name": "proxy-blocked-google-analytics",
"description": "Proxy pageviews to google analytics incase google analytics is blocked on the client side",
"code": "https://github.com/codeniko/simple-tracker/blob/master/examples/server-examples/aws-lambda/google-analytics.js"
},
{
"name": "proxy-tracking-data-to-loggly",
"description": "proxy arbitrary tracking data to a log management service Loggly ",
"code": "https://github.com/codeniko/simple-tracker/blob/master/examples/server-examples/aws-lambda/track.js"
},
{
"name": "lookup-dns",
"description": "DNS lookup of a site",
"code": "https://github.com/HJGreen/who-owns/blob/master/lambda-src/dns.js"
},
{
"name": "get-items-from-cosmicjs",
"description": "List out objects from cosmicjs ",
"code": "https://github.com/aslanvaroqua/netlambda/blob/master/netlify-lambda/objects.js"
},
{
"name": "serverside-hashing",
"description": "Serverside hashing via crypto ",
"code": "https://github.com/SquishyCat/netlify_lambda/blob/master/netlify-lambda/hash.js"
},
{
"name": "get-weather-via-openweathermap",
"description": "Get the weather via openweathermap ",
"code": "https://github.com/mattburrell/wishyouwerehere/blob/master/src/lambda/weatherHandler.js"
},
{
"name": "send-custom-netlify-build-slack-notification",
"description": "Custom netlify build status in slack ",
"code": "https://github.com/mirshko/netlify-status-topic"
},
{
"name": "contentful-authless-comments",
"description": "Contentful authless comments ",
"code": "https://github.com/shaunpersad/authless-comments-example"
},
{
"name": "token-hider-via-proxy",
"description": "Token hider api passthrough proxy",
"code": "https://github.com/depadiernos/token-hider"
},
{
"name": "tokbox-session-manager",
"description": "Build live interactive video, voice and messaging into your web and mobile apps via tokbox",
"code": "https://github.com/slap-dash/slap-dash/tree/master/src/lambda"
},
{
"name": "url-shortening-service",
"description": "URL shortening service ",
"code": "https://github.com/philhawksworth/linkylinky/tree/master/src/lambda"
},
{
"name": "contentful-image-saver",
"description": "Save images to contentful",
"code": "https://github.com/mirshko/contentful-lambda/blob/master/src/lambda/createImageEntry.js"
},
{
"name": "save-twitch-clips-save-to-postgres",
"description": "Grab clips from twitch and insert into postgres database",
"code": [
"https://github.com/stphnchoe/twitchClips/blob/master/src/lambda/handler.js",
"https://github.com/stphnchoe/twitchClips/blob/master/database/index.js"
]
},
{
"name": "swambda-openapi",
"description": "Integrate OpenAPI (swagger) specifications and lambda into an easy-to-use routing tier ",
"code": "https://github.com/fehguy/swambda"
},
{
"name": "detect-csp-violations",
"description": "CSP violations reporting by setting the lambda URL as the CSP report-uri",
"code": [
"https://github.com/stefanjudis/stefan-judis-website/blob/020f1b005cb1fcf4da8afa4407d9514917aecda0/functions/report.js",
"https://github.com/stefanjudis/stefan-judis-website/blob/020f1b005cb1fcf4da8afa4407d9514917aecda0/static/_headers#L2"
]
},
{
"name": "scrape-twitter-avatars",
"description": "Scrape mobile twitter HTML to return the URLs of a user avatar: ",
"url": "https://twavatar.netlify.com/",
"code": "https://github.com/philhawksworth/twavatar"
},
{
"name": "intercom-as-oauth-login",
"description": "Oauth via intercom ",
"code": "https://github.com/DavidWells/intercom-netlify-oauth"
},
{
"name": "netlify-functions-crud-app-with-fauna",
"description": "Using faunaDB as datastore ",
"code": "https://github.com/netlify/netlify-faunadb-example"
},
{
"name": "netlify-functions-express",
"description": "Using express with netlify functions",
"code": "https://github.com/DavidWells/netlify-functions-express"
},
{
"name": "netlify-functions-gated-sites",
"description": "Gating multiple sites with Okta ",
"code": "https://github.com/DavidWells/netlify-gated-sites/tree/master/okta"
},
{
"name": "post-a-tweet",
"description": "Post a tweet to Twitter",
"code": "https://github.com/colbyfayock/tweet/blob/0d22f08292bb077f2248329abe9bf37ef7d8bf89/src/tweet.js"
},
{
"name": "netlify-functions-as-zips",
"description": "Functions as zips ",
"code": "https://github.com/DavidWells/function-zips"
},
{
"name": "netlify-identity-whitelist-emails",
"description": "Validate emails on Netlify identity signup",
"code": "https://github.com/escaladesports/react-netlify-form/blob/7d28c95b709055a6fd4e4039248eff1a34af2fc0/src/functions/identity-signup.js"
},
{
"name": "netlify-functions-apollo-graphql",
"description": "Deploying Apollo graphql on netlify functions ",
"code": "https://github.com/stubailo/apollo-netlify-lambda-app",
"url": "https://blog.apollographql.com/deploy-a-fullstack-apollo-app-with-netlify-45a7dfd51b0b"
},
{
"name": "mongodb-and-functions",
"description": "Using mongoDB + functions ",
"url": "https://blog.elpassion.com/jam-stack-your-old-cms-into-the-closet-12cad2c7b1b3",
"code": "https://github.com/maciejmatu/smoothielicious/tree/b7a5a76eb29af076ed228c9b5d190fb56d0df1d2/src/lambda"
},
{
"name": "gatsby-and-netlify-functions",
"description": "Handling Static Forms, Auth & Serverless Functions with Gatsby on Netlify",
"url": "https://gatsby-netlify-snipcart.netlify.com/",
"code": "https://github.com/snipcart/gatsby-netlify"
},
{
"name": "gatsby-stripe-store-starter",
"description": "Gatsby & Netlify functions stripe store",
"code": "https://github.com/raae/gatsby-stripe-store-starter/blob/07f993dc551f9a93ceac3b07e657a50dbebb9254/src/lambda/createAndPayStripeOrder.js"
},
{
"name": "Netlibox",
"description": "Netlify + Dropbox using functions + redirects to validate the webhook",
"code": "https://github.com/jimniels/netlibox"
},
{
"name": "Shopify ecommerce",
"description": "Netlify functions + shopify for an ecommerce store",
"repo": "https://github.com/NEsfandiari/lipslut2.0",
"code": "https://github.com/NEsfandiari/lipslut2.0/blob/caaf5aac513e81216b82b2fe610d3da868995c4c/lambda-src/createCheckout.js"
},
{
"name": "primsa-graphql-example",
"description": "Netlify functions + primsa + graphql",
"code": "https://github.com/auchau/crowdroar_netlify/blob/154a5e7a8f07669da6cdcf932eebdc123a3b38d8/src/lambda/graphql.js"
},
{
"name": "Chuck Norris quote generator",
"description": "Fetch Chuck Norris quotes",
"code": "https://github.com/auchau/crowdroar_netlify/blob/154a5e7a8f07669da6cdcf932eebdc123a3b38d8/src/lambda/async-chuck-norris.js"
},
{
"name": "Mailchimp signup flow",
"description": "Netlify functions + subscribe users to mailchimp",
"repo": "https://github.com/smkkstudios/pairity/",
"code": "https://github.com/smkkstudios/pairity/blob/b366ec13c54f4782e16f79c18d1795e10c574102/functions/signUp.js"
},
{
"name": "Check weather forcast",
"description": "Check the weather forcast with bugsnag for debugging",
"code": "https://github.com/mikesprague/localweather-io/blob/f1ae3d72900cd514ac27c65ab6dec70aafdb9362/src/functions/weather.js"
},
{
"name": "Netlify form notifications to slack",
"description": "Ping slack on new netlify comments",
"code": "https://github.com/vectronic/website/blob/2f248da49b63d81b142f229acabaa14291bb2fba/src/functions/comment-submitted.js"
},
{
"name": "Airtable as database",
"description": "Using Airtable as a database",
"code": "https://github.com/adenin-sites/NowAssistant.com/blob/b3f79c441a781a082c06e7ce27678e99fd8b1258/lambda-src/job-application.js"
},
{
"name": "pusher-auth",
"description": "Authenication for pusher pub/sub",
"code": "https://github.com/NathanHeffley/pointer/blob/f12442f416ae9aa3929482142650b358bf50c1ca/src/functions/auth.js"
},
{
"name": "using-s3-as-a-database",
"description": "Example of using AWS s3 as a datastore",
"code": "https://github.com/walbuc/compound/blob/41e6a60fa697d41b5965665c181827a01828925d/functions/test.js"
},
{
"name": "get-random-emoji",
"description": "Return a random emoji",
"code": "https://github.com/mrozilla/mrozilla.cz/blob/fddf0687b30c1615fccdd085fc7acca0948d8a15/src/lambda/emoji.js"
},
{
"name": "Meetup Raffle",
"description": "Draw raffle winners at your Meetup event via meetup.com API",
"repo": "https://github.com/wKovacs64/meetup-raffle",
"code": "https://github.com/wKovacs64/meetup-raffle/blob/bb32bc10d9bb355e252602873167339073a3f2fa/src/functions/draw.js"
},
{
"name": "Verify phone numbers",
"description": "Verify phone numbers with Authy SMS",
"code": "https://github.com/p8952/SafetyCall/blob/1da9967d4c7fb8112fca67b91f69cac8747a265f/src/functions/verifyNumber.js"
},
{
"name": "BART Station Departures",
"description": "Get the SF BART Station Departures",
"repo": "https://github.com/philipbordallo/stand-clear/",
"code": "https://github.com/philipbordallo/stand-clear/blob/912c8a454aff7373e1404a871185e2485957494f/src/server/functions/departures.js"
},
{
"name": "MyAnimeList search API",
"description": "Search MyAnimeList API",
"code": "https://github.com/destruc7i0n/nani/tree/5063b1abb087f719fc96eeffcb904b631624dc63/src/lambda"
},
{
"name": "Fetch Rasperry pi URL",
"description": "Fetch Rasperry pi URL from dataplicity",
"code": "https://github.com/ZachGawlik/zachgawlik.com/blob/6ae0b7485b8aeba9f440b752d35ca4207153dca1/lambdas/get-pi-url.js"
},
{
"name": "Contact form with Airtable & Mailgun",
"description": "Process contact form submission and store in airtable",
"code": "https://github.com/stefanjudis/service-party/blob/e744e42b26e48a43f95a5491515a133791dab6fb/src/lambda/contact.js"
},
{
"name": "GitHub Finder",
"description": "Serverless Implementation of GitHub Finder",
"code": "https://github.com/shayant98/GFServerless"
},
{
"name": "Dropbox-webhook",
"description": "Dropbox webhook to trigger Netlify builds",
"code": "https://github.com/chaseadamsio/chaseadams.io/blob/3f181cd88417dd002c90fff36afb75fe46357e50/src/_netlify-functions/dropbox-webhook.js"
},
{
"name": "Medium RSS feed",
"description": "Fetch RSS feed from medium",
"code": "https://github.com/jhackett1/joshuahackett/blob/f137f5283841c8312eb86196737462dff107cc26/src/functions/get-posts.js"
},
{
"name": "Behance RSS feed",
"description": "Fetch RSS feed from behance",
"code": "https://github.com/jhackett1/joshuahackett/blob/f137f5283841c8312eb86196737462dff107cc26/src/functions/get-projects.js"
},
{
"name": "Slack channel invites",
"description": "Send slack channel invites",
"code": "https://github.com/kylemcd/marketers-chat/blob/1a2689e89bfa0277a2ae459a864751e196e73af5/src/lambda/slackSubmit.js",
"demo": "https://marketers.chat/"
},
{
"name": "Fetch currency rates",
"description": "Fetch currency rates from eurofxref",
"code": "https://github.com/dlebech/off-the-books/blob/5c38c42336ccc6a75bfb69ac305fa5e36be71f36/src/lambda/currencies.js"
},
{
"name": "Fetch currency rates",
"description": "Fetch currency rates from eurofxref",
"code": "https://github.com/dlebech/off-the-books/blob/5c38c42336ccc6a75bfb69ac305fa5e36be71f36/src/lambda/currencies.js"
},
{
"name": "Send email via 'sendmail' pkg",
"description": "Send email with no STMP server via 'sendmail' pkg",
"code": "https://github.com/Urigo/graphql-modules/blob/8cb2fd7d9938a856f83e4eee2081384533771904/website/lambda/contact.js"
},
{
"name": "Fetch github repos graphQL",
"description": "get github repos from graphql endpoint ",
"code": "https://github.com/kiranbhalerao123/itsmine.ml/blob/3b02341a6ad7d68e040c794a4d8284b344c01c33/src/netlify_lambda/getrepos.js"
},
{
"name": "Fetch crypto currency prices",
"description": "Get current bitcoin prices from localbitcoins.com",
"code": "https://github.com/iamronsuez/weekend-code/blob/83ccf96dd2506726c329b55188552bb25eae1831/src/functions/price.js"
},
{
"name": "Save zillow prices",
"description": "Search and save Zillow results to firebase ",
"code": "https://github.com/nickmrosen/soldkey/blob/7a219b4bfc943275e3418b792af3f758880141ff/functions/zesty.js"
},
{
"name": "textjoy",
"description": "Weekly inspirational messages via SMS ",
"repo": "https://github.com/alexpriceonline/textjoy/",
"code": "https://github.com/alexpriceonline/textjoy/blob/master/lambda-src/sms.js",
"url": "https://textjoy.co/"
},
{
"name": "process-stripe-payment",
"description": "Process a stripe payment",
"code": "https://github.com/alexpriceonline/textjoy/blob/e43098db9fe95aceb47ee72f802df69e0a9667ae/lambda-src/purchase.js"
},
{
"name": "airtable-netlify-short-urls",
"description": "This is a simple short-url service that works with netlify functions and uses airtable.",
"code": "https://github.com/kentcdodds/airtable-netlify-short-urls/blob/dbaef3c4ddd968c5a7a823e7a71552cb5f3a3c07/functions/redirect.js"
},
{
"name": "scrape-parse-and-render-dynamic-html",
"description": "Scrape url, parse with cheerio and render new html out",
"code": "https://github.com/jamesbgl/bgl-amp/blob/e35ebadc5527543d16a6e97d9f8a54ff9771efe5/src/post.js"
},
{
"name": "Create new user in firebase",
"description": "Create new user in firebase admin",
"code": "https://github.com/believelody/itmproject/blob/a224427f7b39dbada1ffca296349cc38b16419d8/functions/create-user.js"
},
{
"name": "Fetch Instagram posts",
"description": "Get recent instagram posts",
"code": "https://github.com/strt/www/blob/7ade34edb0c1d11e5ec7bf4e1fbceece8ff5f078/lambda/src/instagram.js"
},
{
"name": "password-protected-netlify-build-trigger",
"description": "Trigger Netlify deploy with password protected function",
"code": "https://github.com/HeapSpace/tehnoloskidorucak/blob/d6c9bffae372aa940a0e1b117b3897408e9357f6/src/fns/build.js"
},
{
"name": "shorten-links-with-bitly",
"description": "Shorten links with the bit.ly API",
"code": "https://github.com/nbw/whentochat/blob/fc803cbfdff8f5e46d9bdd9ef381ec3fe2d2350a/src/functions/bitly.js"
},
{
"name": "get-youtube-video-captions",
"description": "Get youtube video captions from video ID",
"code": "https://github.com/nicooprat/diaporama/blob/742c993b89a6000c4033f0752db7dc14fafad9a7/src/lambda/captions.js"
},
{
"name": "get-youtube-video-data",
"description": "Get youtube video data from video ID",
"code": "https://github.com/nicooprat/diaporama/blob/742c993b89a6000c4033f0752db7dc14fafad9a7/src/lambda/video.js"
},
{
"name": "translations",
"description": "An English - Estonian dictionary",
"code": "https://github.com/azdanov/translations",
"url": "https://translations.netlify.com/"
},
{
"name": "mailgun",
"description": "Form handler using Mailgun and Netlify Functions",
"code": "https://gist.github.com/flatlinediver/0bdca4c2ae09d34d351d45230d3b2489"
},
{
"name": "braintree-payments",
"description": "An implementation of Braintree payments processing",
"code": "https://github.com/nadirbad/netlify-functions-example",
"url": "https://nadirbad.dev/posts/serverless-payments-with-braintree-and-netlify-functions/"
}
]