feat: Add cursor rules

This commit is contained in:
2025-08-09 10:09:17 +02:00
parent 7e55a336f2
commit 825ed64b0e

12
.cursor/rules/rules.mdc Normal file
View File

@@ -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