using nestjs and nodemailer to send email
(1)Download or clone the project from git
$npm install
$npm i nodemailer --save
$npm i --save @nestjs/config
put the email and passwor in your .env file as follow -
EMAIL = someone@gmail.com
PASSWORD = password
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod