Hey Friends!
I just wrapped up a full-stack project that converts .docx files into clean, downloadable PDFs ā all from a modern web interface.
Tech Stack Used:
Frontend: React + Tailwind CSS
Backend: Node.js + Express
Libraries:
Mammoth.js ā for extracting clean HTML from .docx files
PDFKit ā for generating professional PDFs
Multer ā for handling file uploads
Key Features:
Upload .docx files
Preview content in clean HTML (no messy Word styles)
Generate and download fully styled PDFs
Mobile responsive UI
Seamless UX with React and Tailwind
š GitHub Repo:
Check out the full code here:
https://github.com/rou-nak-cloud/PDF-Maker
What I Learned...
- Handling file uploads with Multer in Express
- Parsing .docx files cleanly using Mammoth.js
- Dynamically generating PDFs server-side with PDFKit
- Structuring a React project with Tailwind and Axios
- Ensuring responsive design from start to finish
Thanks for reading & happy coding!! š§
Top comments (0)