/Pdf-React

Welcome to the PDF Extract Application, a web-based tool for extracting specific pages from PDF files. This application allows users to upload PDFs, select the pages they want to extract, and then generate and download a new PDF containing only the selected pages.

Primary LanguageTypeScript

PDF Extract Application

Welcome to the PDF Extract Application, a web-based tool for extracting specific pages from PDF files. This application allows users to upload PDFs, select the pages they want to extract, and then generate and download a new PDF containing only the selected pages.

Hosted on AWS

The PDF Extract Application is proudly hosted on Amazon Web Services (AWS), a leading cloud computing platform. Hosting on AWS ensures scalability, reliability, and security for the application.

https://pdf.voyago.site

Features

  • User Authentication: Users can log in with their name and email ID to access the application.
  • PDF Upload: After login, users can navigate to the file upload page, where they can upload PDF files.
  • Editor Page: After a successful upload, users are redirected to the editor page. In this editor session, users can view the uploaded PDF and a editor.
  • Page Selection: The editor session displays information about the total number of pages in the uploaded PDF and provides a checkbox for each page. Users can select the pages they want to extract by checking the corresponding checkboxes.
  • Extract Pages: After selecting the desired pages, users can click the "Extract" button. This action generates a new PDF file containing only the selected pages.
  • Download: A "Download" button is available to download the newly created PDF file.

Project Structure

The project is organized into two main folders:

Server

Inside the server folder, you will find the server-side code for managing the application's operations. To run the server, follow these steps:

  1. Clone the project to your local machine.
  2. Change your working directory to the server folder.
  3. Set the necessary environment variables in a .env file.
  4. Install the required dependencies by running yarn install.
  5. Start the server by running yarn start.

Client

The client folder contains the React app responsible for the user interface. To start the client-side application, follow these steps:

  1. Change your working directory to the client folder.
  2. Install the required dependencies by running yarn install.
  3. Start the client-side application by running yarn start.

Getting Started

To begin using the PDF Extract Application, make sure you've followed the server and client setup instructions as described above. After the server and client are running, you can access the application in your web browser.

Dependencies

The application uses various libraries and frameworks, including but not limited to:

  • Node.js
  • Express (for the server)
  • React (for the client)

Please refer to the respective documentation for more details about these dependencies.

Contributing

If you'd like to contribute to this project or report issues, please check the project's GitHub repository for more information.

API Documentation

https://documenter.getpostman.com/view/27953195/2s9YRFTp4w

ScreenShots

https://drive.google.com/drive/folders/1wH2GJbLzo0GoHgVCMZHROgP4Q1MZDWsQ?usp=sharing

Database Design

https://drive.google.com/file/d/16MRSE4cqDUbwHqJUjBQRyW53QxNtx94I/view?usp=sharing