- Node.js
- Express.js
- HTML, CSS
- Pug || jade (Template Engine)
- Nodemailer
- Gmail
-
Clone the Repository: Clone this repository to your local machine:
git clone https://github.com/alin00r/GmailContactApp.git cd GmailContactApp
-
Install Dependencies: Run the following command to install all the required dependencies:
npm install
-
Configure Environment Variables:
Before you can run the Natours app, you need to set up your environment variables. These variables store sensitive information required for the app to function properly. Follow these steps to configure your environment variables:
-
Create a
.env
File: In the root directory of the app, create a file named.env
. -
Add the Following Environment Variables: Replace the placeholders with your actual information. You might need to sign up for accounts and services to obtain the required credentials.
# Gmail Configuration GMAIL_USERNAME = your gmail email(account) GMAIL_PASSWORD = your gmail password
-