H
Hono3w ago
Aaron

How to test / develop AWS Lambda locally?

I created a new AWS Lambda project with Hono. But with the Node.js template I can test my endpoints locally. This is not the case with the AWS Lambda template... Is there a way to still develop and test locally with this template? https://hono.dev/docs/getting-started/aws-lambda
AWS Lambda - Hono
Web framework built on Web Standards for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
2 Replies
ambergristle
ambergristle3w ago
what happens if you just serve lambda/index.ts locally? oh, you've got aws handle in there you could try setting up two entrypoints, one for local + the other for deployment but that only works if you're not relying on the lambda api

Did you find this page helpful?