Skip to content

gabriaum/contract-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContractFlow

API for creating, updating, signing, and managing contracts in PDF format.

Technologies

  • Spring Boot 3
  • Java 21
  • Spring Security
  • JPA/Hibernate
  • JWT (JJWT + Auth0)
  • OpenPDF
  • MySQL

Features

  • Contract creation
  • Automatic PDF generation
  • Contract updating and deletion
  • Access control via ADMIN
  • JWT authentication

Database (MySQL)

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

Main endpoints

Authentication

  • POST /contractflow/auth/register
  • POST /contractflow/auth/login
  • POST /contractflow/auth/role/{id}

Contracts

  • POST /contractflow/contracts
  • PUT /contractflow/contracts/{id}
  • DELETE /contractflow/contracts/{id}
  • GET /contractflow/contracts
  • GET /contractflow/contracts/{id}

About

Java Spring Boot system for dynamically generating PDF contracts from data sent via API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages