Mirror van het project PDFChecker. De repository betreft de front-end. https://pdfchecker.nl
  • Vue 70.5%
  • TypeScript 26.6%
  • JavaScript 1.8%
  • Dockerfile 0.6%
  • HTML 0.5%
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Robin van Gestel 5b1f053e9c Merge branch 'release/1.11.0' into 'dev'
Release/1.11.0

See merge request pleio/pdfchecker!328
2025-10-28 11:53:27 +00:00
.gitlab/ci ci: add security scanning 2024-10-29 09:48:56 +00:00
cms Fix payload version 2025-10-28 11:53:07 +01:00
docker/nginx Added a fallback URL to nginx to solve routing issues. 2022-01-04 15:26:28 +01:00
locales Translate error messages on home page 2024-07-11 14:53:11 +02:00
public pdfchecker#102: Fix stop calling stats locally 2024-08-05 13:16:58 +00:00
src Changed: askQuestion link url on about us page 2025-10-28 09:10:08 +00:00
.env.local.example Match the example env var port with the default value in the cms 2024-06-13 17:08:35 +02:00
.eslintrc.js Change vue-eslint-parser parsetOptions to @babel/eslint-parser 2024-09-17 11:04:49 +02:00
.gitignore Remove misspelled env.example file, remove .env from gitignore 2024-05-02 10:17:20 +02:00
.gitlab-ci.yml ci: switch cicd-cluster to gcp 2024-11-19 13:44:02 +00:00
.prettierrc.js add frontend 2021-04-21 16:00:47 +02:00
babel.config.js add frontend 2021-04-21 16:00:47 +02:00
CHANGELOG.md Fix payload version 2025-10-28 11:53:07 +01:00
Dockerfile support git dependencies in yarn 2021-06-11 14:12:40 +02:00
package.json Update package version 2025-10-28 12:35:11 +01:00
README.md Cleanup after migration to new cluster. Helm charts are now in the helm chart repos. 2024-08-26 15:41:10 +02:00
vue.config.js Allow CORS api request and update readme. 2024-05-02 10:16:22 +02:00
webpack.config.js add compatible i18n version and needed webpack configuration 2023-08-21 11:47:17 +02:00
yarn.lock Add resolution for eventsource dependency 2024-12-16 14:12:49 +01:00

pdfchecker

Pdfchecker.nl frontend and backend

This application consists of:

  • a Vue.js frontend
  • a Payload CMS backend (see /cms folder)
  • a VeraPDF API backend (maintained elsewhere, but deployed alongside the application)

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Set up local API Development Environment

The test API uses basic auth which prompts for credentials when trying to submit a PDF. These credentials can be found in 1Password.

For automatic authentication, fill in the .env file. In the root directory, execute:

mv .env.example .env

If, for some reason, the test API is not available or you encounter authentication issues, there's the option to self-host the API:

git clone https://github.com/veraPDF/verapdf-webapp-server pdfchecker-api
cd pdfchecker-api
cd .docker
docker compose up

This should run the containers on port 8080, just like the Vue application. Modify the vue.config.js in the Vue application root to use the local API with the following command:

rm vue.config.js
echo "module.exports = {
    publicPath: process.env.NODE_ENV === 'production' ? '/' : 'http://localhost:8080/',
    devServer: {
        port: 8080,
        public: 'localhost:8080',
        proxy: {
            '^/api': {
                target: 'http://localhost',
                
            },
        },
    },
}" > vue.config.js

Set up local CMS

Add

cd cms

# start the database
docker compose up database

# start the CMS
npm run dev

Release guidelines

Development:

Pushing to develop will deploy the solution to https://www.pdfchecker-test.nl

Production

Merging to master will deploy the solution to https://www.pdfchecker.nl after manual confirmation in the pipeline.

Releases are done via the Git-flow release method. This means we will first create a new release branch (branched from develop) with the new version number as name. For example:

/release/1.2.0

Update the CHANGELOG.md as well as the version in package.json within this release branch. All of the new features we are planning to release should be available on https://www.pdfchecker-test.nl to test. After everything is tested, we are ready to merge this branch into master. After merging to master, tag master with the new version (e.g. 1.1.1). Lastly, merge the release branch into develop and remove the release branch.

Step by step:

  1. Create a new release branch (branched from develop)

  2. Update the CHANGELOG.md

  3. Update the package.json version to the same version as the release

  4. Merge changes (step 2,3) into the release branch

  5. Merge release branch into master.

  6. Tag master with the new version number.

  7. Lastly, merge the release branch into develop and delete the release branch.