This Node.js project is a Random Quote Emailer that sends daily inspirational or motivational quotes to a specified email address. It utilizes the Node.js runtime and the popular Node Emailer npm package to handle email functionality.
Ensure you have the following installed on your machine:
- Node.js (https://nodejs.org/)
- npm (Node Package Manager, included with Node.js)
-
Clone the repository:
git clone https://github.com/Harshitshukla0208/Random_quotes_emailer
-
Navigate to the project directory:
cd random-quote-emailer
-
Install dependencies:
npm init "body-parser": "^1.20.2", "dotenv": "^16.3.1", "express": "^4.18.2", "node-cron": "^3.0.3", "nodemailer": "^6.9.8", "nodemon": "^3.0.2"
Run the project using the following command:
npm start
This will initiate the process of sending a daily random quote to the specified email address.
Feel free to customize the project according to your needs. You can modify the quote generation logic, change the frequency of sending emails, or enhance the email content.
This project is licensed under the MIT License - see the LICENSE file for details.
- Node.js
- Node Emailer
- Quotes API (soon)
Happy coding! If you have any questions or suggestions, feel free to reach out.