Here is how it works; once the user connects his/her wallet to the View Your NFT page, the Alchemy NFT API is called to load and display all the NFT perks in the user wallet. With any of the NFT, the user can generate the random string by clicking the NFT. In the background, the clicking action calls the generate-token API and it responds with the random string. The NFT data and the corresponding random string are stored in the AWS RDS database for the eventual validation API call.