...
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;
Use the library
crypto
to create a hash with MD5, we have an example in src/functions/graphql/providers/users.tsCreate a new resolver into directory src/functions/graphql/resolvers/;
Create new types, interface, etc;
...