diff --git a/.cursor/rules/rules.mdc b/.cursor/rules/rules.mdc index bd8a428..9ca15c5 100644 --- a/.cursor/rules/rules.mdc +++ b/.cursor/rules/rules.mdc @@ -4,10 +4,5 @@ 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 compared to the previous version or that just are redundant to the code below - Prefer using existing types diff --git a/legalconsenthub-backend/.cursor/rules/rules.mdc b/legalconsenthub-backend/.cursor/rules/rules.mdc new file mode 100644 index 0000000..b7b2eee --- /dev/null +++ b/legalconsenthub-backend/.cursor/rules/rules.mdc @@ -0,0 +1,7 @@ +--- +description: +globs: +alwaysApply: true +--- +- Don't create any SQL migrations, I do that by myself +- Mapping between DTOs and entities should be done in separate mapper classes