API for creating, updating, signing, and managing contracts in PDF format.
- Spring Boot 3
- Java 21
- Spring Security
- JPA/Hibernate
- JWT (JJWT + Auth0)
- OpenPDF
- MySQL
- Contract creation
- Automatic PDF generation
- Contract updating and deletion
- Access control via ADMIN
- JWT authentication
Example configuration:
spring.datasource.url=jdbc:mysql://localhost:3306/contractflow?useSSL=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=YOUR_PASSWORD
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
- POST /contractflow/auth/register
- POST /contractflow/auth/login
- POST /contractflow/auth/role/{id}
- POST /contractflow/contracts
- PUT /contractflow/contracts/{id}
- DELETE /contractflow/contracts/{id}
- GET /contractflow/contracts
- GET /contractflow/contracts/{id}