fairfield-programming / backend-server

📠 The backend of the Fairfield Programming Association website.
https://fairfieldprogramming.org/
MIT License
26 stars 13 forks source link

Emailing verification system Done #107

Closed MassiGy closed 2 years ago

MassiGy commented 2 years ago

This is the first version of the email verification system.

To learn more about how it works please refer to this issue.

But there is a couple of things to consider, so as it works as expected.

What do we need to do ?

-We need to add the GMAIL_APP_PASS as an env, and this is not the password of the used account, but an application password specific to that account, ( search for gmail application password ).

node-mailer-transporter-config

That should be it for now, but we will see on production.

Sample Emails

This is what the emails that we will be sending to user looks like !

email-sample

Pretty good, right ?

So this is my current progression on this system, please let me know your thoughts !

Please refer to me if something went wrong !

Massiles.