Registering Users with Email Verification - Gin

Опубликовано: 15 Февраль 2026
на канале: Grow Adept
5,713
125

https://www.buymeacoffee.com/GrowAdept
https://www.growadept.com/
https://github.com/GrowAdept/youtube

For the MySQL refresher please check out my playlist at    • MySQL for Golang Web Dev  

In this video we register users. Here are some of the things we check prior to registering users and provide helpful responses to users.
1. username length
2. username is only alphanumeric characters
3. password is of sufficient randomness and complexity
4. email syntax
5. no disposable email address
6. provide email domain suggestion if typed wrong
7. email address domain has Mx Record setup properly
8. make sure username doesn't already exist
If all checks pass, a new user is created and then a verification email will be sent to user's email with a verification link inside. We cover how to handle this request and grab the values. Comparing passwords with saved password hash is covered as well.