Commit Graph

7 Commits

Author SHA1 Message Date
Aaron William Po
584e3b349f Implement confirm user functionality
This commit adds the necessary functionality to confirm a user's account.

It includes the addition of a new column in the user table to track whether an account is confirmed or not, and the implementation of JWT for confirmation tokens.

This commit integrates the SparkPost API as well as React Email to send dynamic emails for whatever purpose.

Upon user registration, a confirmation email will be sent to the user.
2023-03-13 22:35:57 -04:00
Aaron William Po
249bfdaf5a fix logout 2023-02-13 16:15:10 -05:00
Aaron William Po
45cc10a009 Update next-connect, begin work on cloud img upload 2023-02-09 23:58:03 -05:00
Aaron William Po
dbd342fd3e Refactor codebase, format 2023-02-09 04:03:52 -05:00
Aaron William Po
3626e3de44 Update api routes to use authenticated user 2023-02-06 19:01:01 -05:00
Aaron William Po
9a9d8bcb94 Implement login, add useUser hook 2023-02-06 17:19:28 -05:00
Aaron William Po
087a1a4513 Implement authentication using Passport.js 2023-02-05 19:27:19 -05:00