Added dotenv library. You will need to create a .env file for environmental vars now. example.env contains all requried vars.
Added email service. When running in NODE_ENV=development, this will "send" emails using ethereal. You can preview these virtual emails using the link generated in the server console.
Added a status message to index.pug that will show when users log in informing them they will need to validate their email address
Other:
example.env
contains all requried vars.NODE_ENV=development
, this will "send" emails using ethereal. You can preview these virtual emails using the link generated in the server console.index.pug
that will show when users log in informing them they will need to validate their email address