Doc2PDF is a full-stack application designed to convert Microsoft Word documents (.doc
and .docx
) into PDF format. The app is built using React.js for the frontend and Node.js with Express for the backend. It features a responsive design and supports both dark and light themes. The application uses Tailwind CSS for styling and includes various tools and libraries for development.
multer
(for handling file uploads)docx-pdf
(for converting Word documents to PDF)Clone the Repository:
git clone https://github.com/your-username/Doc2PDF.git
cd Doc2PDF
Install Dependencies:
npm install
Start the Development Server:
npm start
Open your browser and navigate to http://localhost:3000
to view the application.
Navigate to the Backend Directory (if it's a separate directory):
cd server
Install Dependencies:
npm install
Start the Server:
nodemon server.js
Ensure the backend server is running and accessible.
http://localhost:3000
in your browser..doc
or .docx
file from your computer.http://localhost:3000/convertFile
(adjust if necessary).Use Postman to test the API endpoints:
POST /convertFile
with multipart/form-data
containing the file.
We welcome contributions to improve the project. To contribute:
git checkout -b feature/your-feature
git add .
git commit -m "Add your message here"
git push origin feature/your-feature
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or support, please contact: