Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
breandr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
So long API Gateway, and thanks for all the routes
(codegenie.codes)
2 points
by
breandr
2y ago
|
0 comments
2.
▲
by
breandr
10y ago
https://github.com/awslabs/aws-serverless-express
3.
▲
by
breandr
10y ago
You need to specify your MIME type (most commonly, application/json) to be treated as binary (from console: API -> Binary Support). In your Lambda function: `callback(null, { body: base64EncodedBody, status: 200, headers: {}, isBase
4.
▲
by
breandr
10y ago
Hi Everhusk, I don't specifically call it out in the article, but the code is actually reusing database connections. As mentioned in other comments, the trick is to establish the connection outside of the handler so that the connection
5.
▲
by
breandr
10y ago
Check out our example on github https://github.com/awslabs/aws-serverless-express/tree/maste... . The lambda wrapper is very thin (4 LOC). So you have two options: run/test your express app locally as you
6.
▲
by
breandr
12y ago
Hello, this is certainly off-topic but I am curious about your username. Is it in reference to Waldorf schools? My daughter just started preschool at one and I'm wondering if "notwaldorf" is a shot at Waldorf schools. As a pa