...
Task 1 - Update GraphQL Query to get new data (validate cache)
Task 2 - Validate if purchased products have a refill
Task 3 - Create a new request for backend “intl-whitelabel-graphql” - GetRefillDrinkQRCode (Request GraphQL implementation)
Task 4 - Get and use QRCode of GetRefillDrinkQRCode (Request GraphQL implementation)
Task 5 - Como verificar agendamento de pedido e cancelamento
Tasks breakdown
Intl Whitelabel CMS
...
Task 1 - Create new function GetRefillDrinkQRCode for generate hash (Request Whitelabel implementation)
Add secrets in DynamoDB
Create a new provider into directory src/functions/graphql/providers/ RefillDrinkQRCodeProvider;
Create a request for get secrets of MD5
In this provider, we need to create a hash, this code is an example of how to create the logic for it.
Run
graphql:types
Create a new function for generated hash with MD5, but we need to get the key of cryptography of MD5;
Create a new resolver into directory src/functions/graphql/resolvers/;
Create new types, interface, etc;
You can be based in the PR https://github.com/rbilabs/intl-whitelabel-app/pull/296/files#diff-a88f2462d7ab31319f2455bbd95c349d30a54980e31ee54277a804ac3acd8e62
DOD-LIKE
Create unit test
Call by postman with success
Generate a valid hash code
Intl Whitelabel App
Task 1 - Update GraphQL Query to get new data
...