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