From 825ed64b0eec2c186e6e52d766dc69a753359c7f Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sat, 9 Aug 2025 10:09:17 +0200 Subject: [PATCH] feat: Add cursor rules --- .cursor/rules/rules.mdc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .cursor/rules/rules.mdc diff --git a/.cursor/rules/rules.mdc b/.cursor/rules/rules.mdc new file mode 100644 index 0000000..4aaa9ec --- /dev/null +++ b/.cursor/rules/rules.mdc @@ -0,0 +1,12 @@ +--- +description: +globs: +alwaysApply: true +--- +- This project consists of a Nuxt 3 frontend (legalconsenthub), a spring boot 3 server backend (legalconsenthub-backend) and a spring boot 3 client middleware (legalconsenthub-middleware) +- This is a software for works council members and employers to propose new IT software used in a company via a form, discussing it with the employer and signing it with a qualified electronic signature (QES) in the end. +- For the qualified electronic signature, the middleware uses the project OpenSC and provides a REST API to the frontend +- OpenSC communicates with the smart card of the user and sends the hash of a document to be signed +- The backend gets the PDF to be signed and the signature and created with the Digital Signature Service (DSS) library a PAdES-PDF +- Don't create any SQL migrations, I do that by myself +- Don't add comments about the things that have changed