-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Lambda Handler #16
Comments
It's easy enough for me to add a lambda handler now via https://github.com/sachinraja/uttp. The only problem is that I have no idea how to test if it actually works. |
@sachinraja Thanks for the reply! And for the guidance! |
@sachinraja I tried to follow the Here is my system:
What I did:
This throws an error:
Tried with the 'next' and 'express' examples as well, but wasn't successful. Am I doing something wrong? Could you tell me your system and versions so I can try to match them as close as possible? |
You need to run If you need more help on this we could maybe do a call on the trpc discord. |
Thanks! I could make it work for the vite example. I would like to talk on the discord some time! My name there is |
Glad you were able to get it working. I might be free tomorrow (today?). I'm in PST. Just @ me on the discord (cloudfox) and we can talk if I'm available. |
I would love to see a handler for deploying the playground on an AWS Lambda + ApiGateway structure.
Here I have an example project:
https://github.com/perfectbase/serverless-trpc
It's a Next.js app with an API build with Serverless Framework.
While we don't have a Lambda Handler, I've been trying a workaround by trying to put only the playground in the Next.js's API Routes. But I wasn't successful with it.
Could you try to guide me in how I can make it work with my setup?
Thanks in advance.
The text was updated successfully, but these errors were encountered: