DEV Community

Cover image for PDF Reviewer (3) - The Architecture
pdfreviewer
pdfreviewer

Posted on

PDF Reviewer (3) - The Architecture

PDF Reviewer is a cloud-based service that enables users to annotate PDF files in Markdown syntax, with support for Latex Equations. It is a paid service with free trial (until Aug 31, 2022), but no credit card is needed for the trial. Readers are encouraged to check it out.

Internet services are not only simple web pages. There are some complex modules behind the scene. So is our service. Following is the architecture.

PDF Reviewer Architecture

There're multiple components:

  1. The Portal. It serves what visitors will see when they visit PDF Reviewer. It is built on top Angular 13.
  2. The Viewer. It serves a PDF viewer which is built on top of the Mozilla PDF.js library. Another component is the PouchDB library, which we use to store annotations locally.
  3. The Server. All the service code that backs the website. It is built on top of the famous Spring Boot framework.
  4. The PostgreSQL database. It stores user session information, the credential token when users are authorized via the login button, and PDFs file information.
  5. The Object Storage. It stores PDF files.
  6. The Apache CouchDB server. It stores Annotation data.
  7. The Google Account service. It is not a part of our service, but provides user credential management for our service.

Top comments (0)