-
Notifications
You must be signed in to change notification settings - Fork 991
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
[Docs]: how functions work in a PaaS environments like Render.com #9741
Comments
Hey @suzdalnitski, yeah there could be more clarification for sure. You can think of functions in We're also thinking of moving away from the AWS Lambda signature which would probably remove a lot of the confusion here. This doc could probably use an update (even the title of it) if you're interested: https://redwoodjs.com/docs/serverless-functions. |
@suzdalnitski yeah I wouldn't update them wholesale yet, the two you did seem like good callouts |
@jtoar this is not entirely related, but do you think it would make sense to add a document comparing different deployment options? From the current docs it is not entirely clear which option works with Redwood the best (with the least amount of effort to set up). It took me a couple days to go over the available options, and basically settle on Render (with Fly being another solid option). |
…ed in a non-serverless environment (#9742) Closes #9741. --------- Co-authored-by: Dominic Saadi <[email protected]>
…ed in a non-serverless environment (#9742) Closes #9741. --------- Co-authored-by: Dominic Saadi <[email protected]>
…ed in a non-serverless environment (#9742) Closes #9741. --------- Co-authored-by: Dominic Saadi <[email protected]>
Summary and description
It's not entirely clear how do functions in
api/src/functions
work. Eg what happens when the GraphQL handler inapi/src/functions/graphql.ts
is getting called in the context of a PaaS like Render.com? Are they automatically getting wrapped in a Fastify server?Or do I have to also deploy an AWS Lambda in addition to Render.com? What about other functions that I may add to
api/src/functions
? Likefunctions/auth.ts
, which was generated by adding in the SuperTokens auth (which also makes use ofsupertokens-node/framework/awsLambda
, so I'm not sure if I have to make use of AWS for auth).Are you interested in working on this?
The text was updated successfully, but these errors were encountered: