Skip to content
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

[TM-1270] CDK-driven Api Gateway implementation. #1

Merged
merged 7 commits into from
Sep 17, 2024

Conversation

roguenet
Copy link
Collaborator

@roguenet roguenet commented Sep 11, 2024

https://gfw.atlassian.net/browse/TM-1270

Unfortunately, SAM will not honor an HttpUrlIntegration for local dev, so I've had to create a lambda function that acts as a local proxy to the PHP BE. This makes the AWS implementation of the gateway different from the local implementation, but it should function similarly enough to allow local development to continue without hiccups.

This PR contains a ton of boilerplate and un-interesting config files. The meat of the functionality is in:

  • README.md
  • apps/api-gateway/lib
  • apps/api-gateway/lambda (local lambda-based proxy, not used in AWS)
  • apps/user-service (very basic scaffolding of a NestJS project that will become the User service)

Unfortunately, SAM will not honor an HttpUrlIntegration for local dev, so I've had to create a lambda function that acts as a local proxy to the PHP BE. This makes the AWS implementation of the gateway different from the local implementation, but it should function similarly enough to allow local development to continue without hiccups.
@roguenet roguenet marked this pull request as ready for review September 11, 2024 23:31
@roguenet roguenet merged commit 6dadbf5 into main Sep 17, 2024
@roguenet roguenet deleted the feat/TM-1270-scaffolding branch September 17, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants