tommedema / serverless-mono-example

Example repo on how to use yarn workspaces together with the serverless framework.
124 stars 10 forks source link

GraphQL Integration #9

Closed emptyway closed 5 years ago

emptyway commented 5 years ago

how would you integrate AWS Appsync or Apollo GraphQL with this mono-repo architecture?

tommedema commented 5 years ago

I haven't tried this myself, but it would be part of any of the individual packages. Having a mono-repo architecture shouldn't affect the way you work with these libraries?

emptyway commented 5 years ago

thank you for your response. can you create a service without a package.json

I want to create a service/package AppSync; referencing and mapping others packages with no lambda functions in it.

Similarly, how would you create a package/service/resource Cognito User Pool, S3 bucket, Database or any resources without any lambda functions in it.

whats your recommendation? thanks!

emptyway commented 5 years ago

worked with the a minimal package.json, serverless.yml and tsconfig.json