How To Verify Phone Number During Tests Part 1

1 ยท Gleb Bahmutov ยท Aug. 30, 2021, 9:29 p.m.
Let's take a look at a typical web application that makes the users sign up using a phone number. We want to verify the user via a phone number to avoid bots and spam accounts. We can ask for the user's phone number during the sign up, send an SMS code, and then the user should enter that code. If the code matches the one we have sent, the phone has been verified.๐ŸŽ You can find the full source code in the repo bahmutov/verify-code-example.The users database tableI used a hosted MySQL database to...