Skip to content

Task 9: Add BFF service#6

Open
VarvaraZadnepriak wants to merge 1 commit intomainfrom
Task9
Open

Task 9: Add BFF service#6
VarvaraZadnepriak wants to merge 1 commit intomainfrom
Task9

Conversation

@VarvaraZadnepriak
Copy link
Owner

@VarvaraZadnepriak VarvaraZadnepriak commented Dec 13, 2020

Direct link to the Product Service: https://x1bqrwofsh.execute-api.eu-west-1.amazonaws.com/dev/
Direct link to the Cart Service: https://varvara-zadnepriak-cart-api-dev.eu-west-1.elasticbeanstalk.com

BFF link: http://varvara-zadnepriak-bff-service.eu-west-1.elasticbeanstalk.com
Product Service:

Cart Service:
All methods supported by cart service, f.e.

What was done?

  • 3 - A working and correct express application should be in the bff-service folder. Reviewer can start this application locally with any valid configuration in the .env file and this application should works as described in the task 9.1.
  • 5 - The bff-service should be deployed with Elastic Beanstalk. The bff-service call should be redirected to the appropriate service : product-service or CART. The response from the bff-service should be the same as if product-service or CART services were called directly.

Additional tasks:

  • +1 - Add a cache at the bff-service level for a request to the getProductsList function of the product-service. The cache should expire in 2 minutes
    In memory cache was added using Nest infrastructure (just to try some Nest features or why do we use Nest in this task?)
  • +1 - Use NestJS to create bff-service instead of express

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