{"id":15014111,"url":"https://github.com/ajaypatil1993/doc2pdf","last_synced_at":"2026-04-07T14:01:32.378Z","repository":{"id":252818150,"uuid":"841528466","full_name":"ajaypatil1993/Doc2PDF","owner":"ajaypatil1993","description":"Doc2PDF is a full-stack app for converting Word documents to PDF using React.js, Express.js, Node.js, and Tailwind CSS.","archived":false,"fork":false,"pushed_at":"2024-08-13T20:40:45.000Z","size":21846,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T00:17:48.651Z","etag":null,"topics":["axios","docx-pdf-converstion","docx-to-pdf","expressjs","multer","nodejs","nodemon","npm","postman","postman-test","reactjs","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://doc2-pdf.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajaypatil1993.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-12T15:30:04.000Z","updated_at":"2024-09-18T16:58:31.000Z","dependencies_parsed_at":"2024-11-18T17:55:26.596Z","dependency_job_id":null,"html_url":"https://github.com/ajaypatil1993/Doc2PDF","commit_stats":null,"previous_names":["ajaypatil1993/doc2pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaypatil1993%2FDoc2PDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaypatil1993%2FDoc2PDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaypatil1993%2FDoc2PDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaypatil1993%2FDoc2PDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajaypatil1993","download_url":"https://codeload.github.com/ajaypatil1993/Doc2PDF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243313496,"owners_count":20271196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","docx-pdf-converstion","docx-to-pdf","expressjs","multer","nodejs","nodemon","npm","postman","postman-test","reactjs","tailwindcss","vite"],"created_at":"2024-09-24T19:45:12.411Z","updated_at":"2025-12-26T15:26:09.858Z","avatar_url":"https://github.com/ajaypatil1993.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Doc2PDF\n\n## Overview\n\n**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.\n\n## Technologies Used\n\n- **Frontend**: React.js, Tailwind CSS\n- **Backend**: Node.js, Express\n- **Styling**: Tailwind CSS\n- **Development Tools**: Vite, Nodemon\n- **Libraries**:\n  - `multer` (for handling file uploads)\n  - `docx-pdf` (for converting Word documents to PDF)\n\n## Installation\n\n### Frontend\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/your-username/Doc2PDF.git\n   cd Doc2PDF\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Start the Development Server**:\n   ```bash\n   npm start\n   ```\n\n   Open your browser and navigate to `http://localhost:3000` to view the application.\n\n### Backend\n\n1. **Navigate to the Backend Directory** (if it's a separate directory):\n   ```bash\n   cd server\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Start the Server**:\n   ```bash\n   nodemon server.js\n   ```\n\n   Ensure the backend server is running and accessible.\n\n## Usage\n\n1. **Open the Application**: Go to `http://localhost:3000` in your browser.\n2. **Upload a File**: Click on the \"Choose File\" button to select a `.doc` or `.docx` file from your computer.\n3. **Convert the File**: Click on the \"Convert File\" button to start the conversion process.\n4. **Download the PDF**: Once the conversion is complete, you will be provided with a download link for the converted PDF file.\n\n## Configuration\n\n- **API Endpoint**: The frontend is configured to communicate with the backend API endpoint at `http://localhost:3000/convertFile` (adjust if necessary).\n\n## Testing\n\nUse Postman to test the API endpoints:\n- **Upload File**: `POST /convertFile` with `multipart/form-data` containing the file.\n\n## Screenshots\n\n### Dark Theme Preview\n\n![Dark Theme Preview](https://github.com/user-attachments/assets/444a2ef8-6c79-423b-9887-abc8d9822184)\n\n### Light Theme Preview\n\n![Light Theme Preview](https://github.com/user-attachments/assets/2a0b80ab-9445-49b5-bc29-044644d7e5db)\n\n### VS Code Setup\n\n![VS Code Setup](https://github.com/user-attachments/assets/bff0f287-649b-42dd-b811-38ca219a1e71)\n\n### Responsive Design\n\n![Responsive Design 1](https://github.com/user-attachments/assets/4f21af6a-d9c6-4dc5-9bbc-7d8a064c2411)\n![Responsive Design 2](https://github.com/user-attachments/assets/044575de-c8ca-4028-8833-4fc2bf2f398d)\n\n## Contributing\n\nWe welcome contributions to improve the project. To contribute:\n\n1. **Fork the Repository**.\n2. **Create a New Branch**:\n   ```bash\n   git checkout -b feature/your-feature\n   ```\n3. **Make Your Changes**.\n4. **Commit Your Changes**:\n   ```bash\n   git add .\n   git commit -m \"Add your message here\"\n   ```\n5. **Push to Your Fork**:\n   ```bash\n   git push origin feature/your-feature\n   ```\n6. **Create a Pull Request**.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or support, please contact:\n\n- **Author**: [aj41093@gmail.com](mailto:aj41093@gmail.com)\n- **GitHub**: [ajaypatil1993](https://github.com/ajaypatil1993)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaypatil1993%2Fdoc2pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajaypatil1993%2Fdoc2pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaypatil1993%2Fdoc2pdf/lists"}