-
Heyho, thank you for this very cool PDK. I've been able to get started really quickly with it and Smithy provides a delightful experience. The video going through a PDK Smithy demo was also very helpful! I do have some questions about some recommended ways to create a CRUD API using PDK and
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hey! That's really awesome to hear, thank you! 😄
I'd recommend the latter, a single
The choice of individual lambda vs router is completely up to you! There are a few advantages of each option that come to mind: Router
Individual Lambdas
If it helps, recently I've been opting for the router as it's really nice for say an API that a website calls - no cold start means it's super responsive after your first few clicks :) |
Beta Was this translation helpful? Give feedback.
-
Are there any examples of |
Beta Was this translation helpful? Give feedback.
Hey! That's really awesome to hear, thank you! 😄
I'd recommend the latter, a single
service
with aFooResource
and aBarResource
. EachSmithyApiGatewayXXXProject
targets a singleservice
and creates an API gateway API with all the operations/resources in the service. If you wanted to separate yourFoo
andBar
resources into completely separate API Gateway endpoints then you can create aFooService
and aBarService
but you'd need to create separateSm…