Send emails from your Nuxtjs App using Nodemailer. Rich user interface to send emails and attachments.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm installCreate a .env file and add the following variables:
DB_URL= #MongoDB
ACCESS_TOKEN_SECRET= #JsonWebToken Secret
GOOGLE_CLIENT_ID= #Google Client ID
GOOGLE_CLIENT_SECRET= #Google CLient Secret
FACEBOOK_CLIENT_ID= #Facebook Client ID
FACEBOOK_CLIENT_SECRET= #Facebook CLient SecretStart the development server on http://localhost:3001
# yarn
yarn dev
# npm
npm run devPOST /auth/register
POST /auth/login
POST /auth/forgot
PATCH /auth/resetGET /oauth2/google
GET /oauth2/google/redirect
GET /oauth2/facebook
GET /oauth2/facebook/redirectNote: All routes takes auth middleware to verify user using token sent in request header
GET /users
PATCH /users/password
PATCH /users/name
PATCH /users/email
DELETE /users