Create a NodeJS PDF Generator that Sends the PDF as an Email Attachment with AdonisJS & Puppeteer

Опубликовано: 28 Октябрь 2024
на канале: Adocasts
3,576
42

In this lesson, we'll be creating an application that creates a PDF from a styled page using AdonisJS, EdgeJS, and Puppeteer. Then, we'll learn how we can send this PDF as an email attachment.

👍 If You Enjoy This Video, Consider Hitting The Like Button!

🥁 Subscribe To Stay Notified For New Lessons:
https://www.youtube.com/adocasts?sub_...

📕 Read & View on Adocasts:
https://adocasts.com/lessons/creating...

👨‍💻 Find The Code For This Lesson Here:
https://github.com/adocasts/adonisjs-...

📚 Chapters:
00:00 - Demo
01:07 - Installing & Configuring Dependencies
03:00 - Environment Variables
03:50 - Creating Files
04:15 - Authentication
09:40 - Creating an Input Component
10:50 - Creating a Button Component
12:20 - Authentication Forms
13:30 - Testing Authentication
14:20 - Recipient Form
15:00 - Creating a Print Container Component
16:30 - Invoice Markup
17:00 - Generating A PDF with Puppeteer
19:20 - Saving PDF with AdonisJS Drive
20:50 - Send PDF Form Handler Route
23:00 - PDF Generator Route
25:50 - Testing PDF Save
26:40 - Sending PDF as Email Attachment
29:00 - Testing
30:06 - Outro

-----------------------------------------

🕸️ Website: https://adocasts.com
🐦 Twitter:   / adocasts  
👍 GitHub: https://github.com/adocasts