While going through the types of documents, you must have often come across the extension “pdf”. It is pretty easy to read, and it gives a lot of clarity to a finished document. While going through any photos or any other document, you may come across the feeling of getting it into a pdf file. My application will do that job for you. Through authenticated pdf converter, we can convert any file into a pdf file.
What it does
While going through the types of documents, you must have often come across the extension “pdf” and "doc". It is pretty easy to read, and it gives a lot of clarity to a finished document. While going through any photos or any other document, you may come across the feeling of getting it into a doc or pdf file. My application will do that job for you. Through secure doc and pdf converter, we can convert any file into a doc or pdf file.
How we built it
I have built the secure doc and pdf converter application with the help of a few technologies. The user interface is solely dependent on HTML and CSS. I have used python for building the application, and the python framework that helped me build this application is Django. I have done the authentication part with the help of Auth0.
Before building the application, you can set up the Auth0 dashboard by signing up, which is entirely free. When signing up, you have to keep in mind that the whole authentication will stand on the three components, which are Auth0 domain, Auth0 Client ID and Auth0 Client Secret Key. You will easily get these three components after building an application under the settings section. While building the application, make sure to choose the type of technology you will be using while building an application. As I made my application using the Django framework, it will fall under a regular web application.
In the core application, you need to have python installed, or you can install it using this command:
pip install python
After installing python, you will be able to install and use Django. You can use the respective commands for setting up Django in your local machine:
pip install django
I have used the pdf2docx library of python in building this application. You can import it at the start of your project and add the essentials to the settings.py file.
If you want to try out the secure doc and pdf converter app, download all the files from the codesandbox’s sandbox by clicking here. After that, open VS code’s terminal or the local terminal of your computer. Navigate to the folder where you have downloaded the entire file and run this command on your terminal, considering you have installed python on your computer earlier:
pip install -r requirements.txt
Then run the following command:
python manage.py runserver
This command will activate the link http://127.0.0.1:80000/. Copy it and paste it into your browser, and you will see the application in action.
Challenges we ran into
It was a real challenge for me to configure the application with the Auth0 server both in the frontend and backend. The integration of the Auth0 with the python script is quite challenging, but for the prototype, the basic technology demonstration is successful.
Accomplishments that we're proud of
Getting the project ready within seven days is something that I am proud of myself. The whole application building is very complex, but still, with the help of my mentors from Auth0 and acquaintances, I have accomplished the impossible.
What we learned
Through this hackathon and this project, I have learned how time management is crucial for an individual's daily life. This hackathon helped me learn a lot about Auth0 in general. It helped me learn about the various tips and tricks of technical writing. Finally, I have enriched my knowledge on building a web application which will help me a lot in future.
What's next for Secure Doc and Pdf Converter
I have plans on deploying the application on a hosting platform. As the application is still a prototype, I have to do several works, from improving the user interface and improving the backend configuration to excel the user experience. The project is still not on GitHub. So, my next focus will be uploading the entire project on GitHub as soon as possible.
The documentation section of this project is still empty. So, another target will be making preliminary documentation and tutorials within the coming days. All contributions to this project will be highly appreciated because they will help promote open source in general and encourage young open-source enthusiasts to design freely.
I hope you will try out this application and will give your valuable feedback.