Adds a validation schema for the application's environment variables using the Zod library. The parsed environment variables are then exported as constants that can be imported throughout the application, replacing the direct use of process.env.
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.