forked from peakshift/makers.bolt.fun
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathserverless.yml
85 lines (77 loc) · 1.86 KB
/
serverless.yml
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
useDotenv: true
custom:
serverless-offline:
httpPort: 8080
corsAllowHeaders: "*"
plugins:
- serverless-offline
service: serverless-graphql
provider:
name: aws
runtime: nodejs12.x
environment:
LOCAL: true
functions:
graphql:
handler: api/functions/graphql/index.handler
events:
- http:
path: graphql
method: post
- http:
path: graphql
method: get
get-login-url:
handler: api/functions/get-login-url/get-login-url.handler
events:
- http:
path: get-login-url
method: get
login:
handler: api/functions/login/login.handler
events:
- http:
path: login
method: get
logout:
handler: api/functions/logout/logout.handler
events:
- http:
path: logout
method: get
is-logged-in:
handler: api/functions/is-logged-in/is-logged-in.handler
events:
- http:
path: is-logged-in
method: get
nostr-sign-event:
handler: api/functions/nostr-sign-event/nostr-sign-event.handler
events:
- http:
path: nostr-sign-event
method: post
nostr-confirm-event:
handler: api/functions/nostr-confirm-event/nostr-confirm-event.handler
events:
- http:
path: nostr-confirm-event
method: post
nostr-events-extra-data:
handler: api/functions/nostr-events-extra-data/nostr-events-extra-data.handler
events:
- http:
path: nostr-events-extra-data
method: post
pubkeys-to-users:
handler: api/functions/pubkeys-to-users/pubkeys-to-users.handler
events:
- http:
path: pubkeys-to-users
method: post
upload-image-url:
handler: api/functions/upload-image-url/upload-image-url.handler
events:
- http:
path: upload-image-url
method: post