How to implement email verification using Express JS with React native expo?

I am planning to build a project using an Express JS REST API with React native. I am wondering how email verification is usually handled with this kind of stack.

A flow is:

  • User registers with credentials

  • Create a user in the database with an active field set to false

  • The user is sent an email to verify their account (Maybe a code to enter in the app?)

  • If verified set active field to true

I am wondering if they are any external libraries to use or whether to create a custom email server to send these emails.

Read more here: Source link