filmov
tv
Dynamic PDF Generation & Mailing it as an Attachment Using Django
Показать описание
"Dynamic PDF Generation & Mailing using Django"! 📧📂
In this project, I have developed two separate applications. Project 1 serves as the backend and Project 2 acts as a service for PDF generation. The entire process is orchestrated using Django Rest Framework (DRF) and Celery.
Here's how it works:
1️⃣ Frontend initiates a request to Project 1 with the required data for PDF generation.
2️⃣ Project 1 validates the incoming data, and if it's valid, it responds to the frontend, confirming that the customer will receive an email.
3️⃣ Project 1 then requests an access token from Project 2. Project 2 is secured with JWT authentication, and the access token is required to access its APIs.
4️⃣ Once Project 1 receives the access token, it calls Project 2's API for PDF generation.
5️⃣ If Project 2 responds with a success message, Project 1 proceeds to send an email to the customer with the generated PDF attached. 📩
6️⃣ In case Project 2 fails to generate the PDF successfully, Project 1 takes responsibility and sends an apology mail to the customer, ensuring a seamless customer experience.
🕰️ A scheduler is incorporated into Project 1, which runs every 5 minutes to monitor the status of emails sent to customers.
📅 If the scheduler finds that an email was not sent, but a PDF was successfully generated, it will automatically resend the email with the PDF attachment.
🔄 If, for any reason, the email was not sent, and the PDF was also not generated, the scheduler will retry by requesting a new access token from Project 2.
🔁 This process continues until the PDF is successfully mailed to the customer, ensuring that no customer request goes unnoticed.
This project demonstrates the power of Django, Celery, and DRF, showcasing a robust system for dynamic PDF generation and mailing with an efficient scheduler to handle any potential hiccups along the way. 💪
Hope you guys will find this project interesting, if you are please hit that like button and share with you friends.
Your feedback will be appreciated 😀
Django Project Playlist :
Rest API Projects Playlist :
Other Social Links :
Thanks for watching................
#DynamicPDFGeneration #PDFMailing #Django #DRF #Celery #JWTAuthentication #Scheduler #CustomerExperience #EmailAttachment #Automation #ProjectDevelopment
In this project, I have developed two separate applications. Project 1 serves as the backend and Project 2 acts as a service for PDF generation. The entire process is orchestrated using Django Rest Framework (DRF) and Celery.
Here's how it works:
1️⃣ Frontend initiates a request to Project 1 with the required data for PDF generation.
2️⃣ Project 1 validates the incoming data, and if it's valid, it responds to the frontend, confirming that the customer will receive an email.
3️⃣ Project 1 then requests an access token from Project 2. Project 2 is secured with JWT authentication, and the access token is required to access its APIs.
4️⃣ Once Project 1 receives the access token, it calls Project 2's API for PDF generation.
5️⃣ If Project 2 responds with a success message, Project 1 proceeds to send an email to the customer with the generated PDF attached. 📩
6️⃣ In case Project 2 fails to generate the PDF successfully, Project 1 takes responsibility and sends an apology mail to the customer, ensuring a seamless customer experience.
🕰️ A scheduler is incorporated into Project 1, which runs every 5 minutes to monitor the status of emails sent to customers.
📅 If the scheduler finds that an email was not sent, but a PDF was successfully generated, it will automatically resend the email with the PDF attachment.
🔄 If, for any reason, the email was not sent, and the PDF was also not generated, the scheduler will retry by requesting a new access token from Project 2.
🔁 This process continues until the PDF is successfully mailed to the customer, ensuring that no customer request goes unnoticed.
This project demonstrates the power of Django, Celery, and DRF, showcasing a robust system for dynamic PDF generation and mailing with an efficient scheduler to handle any potential hiccups along the way. 💪
Hope you guys will find this project interesting, if you are please hit that like button and share with you friends.
Your feedback will be appreciated 😀
Django Project Playlist :
Rest API Projects Playlist :
Other Social Links :
Thanks for watching................
#DynamicPDFGeneration #PDFMailing #Django #DRF #Celery #JWTAuthentication #Scheduler #CustomerExperience #EmailAttachment #Automation #ProjectDevelopment
Комментарии