Docflex is a web application designed to convert documents between various formats, such as PDF to Word. Built with Node.js and Express, it leverages Python scripts for handling the conversion processes.
- Upload documents for conversion.
- Convert PDFs to Word documents and vice versa.
- User-friendly interface for seamless interaction.
- Backend: Node.js, Express.js
- Frontend: EJS templates, HTML, CSS
- Scripting: Python
- Containerization: Docker
Before running the project, ensure you have the following installed:
- Clone the repository:
git clone https://github.com/Harshitraaaj/Docflex.git
cd Docflex- Install Node.js dependencies:
npm install- Set up environment variables:
Create a .env file in the root directory and add:
PORT=3000- Install Python dependencies:
pip install pdf2docx python-docx PyMuPDF- Using Node.js (Local Development)
Start the Node.js server:
node app.jsOpen your browser and go to:
http://localhost:3000- Using Docker
Build the Docker image:
docker build -t docflex .Run the Docker container:
docker run -p 3000:3000 docflexThen access the app at:
http://localhost:3000https://docflex.onrender.com