6
6
module . exports = [
7
7
{
8
8
name : 'auth-fetch' ,
9
- description : 'Authenticated Fetch: uses node-fetch and Netlify Identity to access APIs' ,
9
+ description : 'Use ` node-fetch` library and Netlify Identity to access APIs' ,
10
10
onComplete ( ) {
11
- console . log ( `authenticated node -fetch function created from template!` )
11
+ console . log ( `auth -fetch function created from template!` )
12
12
console . log (
13
13
'REMINDER: Make sure to call this function with the Netlify Identity JWT. See https://netlify-gotrue-in-react.netlify.com/ for demo'
14
14
)
@@ -17,7 +17,7 @@ module.exports = [
17
17
{
18
18
name : 'hello-world' ,
19
19
priority : 1 ,
20
- description : 'Basic Hello World function: shows async/await usage, and response formatting'
20
+ description : 'Basic function that shows async/await usage, and response formatting'
21
21
} ,
22
22
{
23
23
name : 'node-fetch' ,
@@ -28,43 +28,43 @@ module.exports = [
28
28
} ,
29
29
{
30
30
name : 'serverless-ssr' ,
31
- description : 'Serverless SSR: dynamic serverside rendering via functions' ,
31
+ description : 'Dynamic serverside rendering via functions' ,
32
32
onComplete ( ) {
33
33
console . log ( `serverless-ssr function created from template!` )
34
34
}
35
35
} ,
36
36
{
37
37
name : 'set-cookie' ,
38
- description : 'Set Cookie: set a cookie alongside your function' ,
38
+ description : 'Set a cookie alongside your function' ,
39
39
onComplete ( ) {
40
40
console . log ( `set-cookie function created from template!` )
41
41
}
42
42
} ,
43
43
{
44
44
name : 'protected-function' ,
45
- description : 'Protected Function: Function behind Netlify Identity' ,
45
+ description : 'Function protected Netlify Identity authentication ' ,
46
46
onComplete ( ) {
47
47
console . log ( `protected-function function created from template!` )
48
48
}
49
49
} ,
50
50
{
51
51
name : 'using-middleware' ,
52
- description : 'Using Middleware: with middy' ,
52
+ description : 'Using Middleware with middy' ,
53
53
onComplete ( ) {
54
54
console . log ( `using-middleware function created from template!` )
55
55
}
56
56
} ,
57
57
{
58
58
name : 'fauna-crud' ,
59
- description : 'CRUD function: using Fauna DB! ' ,
59
+ description : 'CRUD function using Fauna DB' ,
60
60
addons : [ 'fauna' ] , // in future we'll want to pass/prompt args to addons
61
61
onComplete ( ) {
62
62
console . log ( `fauna-crud function created from template!` )
63
63
}
64
64
} ,
65
65
{
66
66
name : 'apollo-graphql' ,
67
- description : 'GraphQL function: using Apollo-Server-Lambda!' ,
67
+ description : 'GraphQL function using Apollo-Server-Lambda!' ,
68
68
onComplete ( ) {
69
69
console . log ( `apollo-graphql function created from template!` )
70
70
}
0 commit comments