Skip to content

sebasbad/quitnow-email-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

QuitNow!'s e-mail validator

People don't write e-mail addresses without misspelling from time to time. @gmial.con addresses are too common... And we need to put a stop to it!

QuitNow!'s server is doing the usual e-mail validaton during user creation time. We're doing it like everyone does: sending an e-mail to the user, and waiting for the user to click a link. The only validation we do is to check the e-mail with usual regex... but we need to go a little beyond that. Looking for .CON and suggesting .COM is something that would make the world a better place!

By the way, we recently learnt a lot about TDD (Test-Driven Development) at some Karumi masterclasses, so we decided to go on with TDD. The only way to master something is by doing.

Incidentally, it will be useful if we improve our e-mail validation (and, hopefully, yours).

Don't hesitate to add some issues and good (failing) tests! And, of course, if you want to contribute to the project with new features, it will be really appreciated :·)

About

Validate emails and suggest typo corrections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%