ASPPIBRA / AUTO_CONTRACT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SELF_CONTRACT πŸ“

Contract generation automation πŸ€–

This project implements an automated system for generating contracts. The system works as follows:

  • πŸ“„ The user fills out an HTML form with the contract information.
  • πŸ’Ύ Form data is saved in JSON format in a database.
  • βœ… Database information is validated.
  • πŸ“‹ The contract template is populated with validated information from the database.
  • πŸ–¨οΈ The contract print layout is displayed to the user.
  • πŸ“₯ The user can click a button to generate a PDF of the contract.

Project Structure πŸ—οΈ

/automation-contract
β”œβ”€β”€ code
β”‚   β”œβ”€β”€ contracts
β”‚   β”‚   β”œβ”€β”€ associate
β”‚   β”‚   β”‚   └── associated.html
β”‚   β”‚   β”‚   └── associated.css
β”‚   β”‚   β”œβ”€β”€ car_sale
β”‚   β”‚   β”‚   └── sale_car.html
β”‚   β”‚   β”‚   └── sale_car.css
β”‚   β”‚   β”œβ”€β”€ house_sale
β”‚   β”‚   β”‚   └── sale_casa.html
β”‚   β”‚   β”‚   └── sale_casa.css
β”‚   β”‚   └── land_sale
β”‚   β”‚       └── sale_land.html
β”‚   β”‚       └── sale_land.css
β”‚   β”œβ”€β”€ forms
β”‚   β”‚   └── contract_form.py
β”‚   └── services
β”‚       β”œβ”€β”€ form_validation
β”‚       β”‚   └── convert_form_input_to_json.py
β”‚       β”œβ”€β”€ fill_contract_template_with_json.py
β”‚       β”œβ”€β”€ generate_pdf.py
β”‚       └── show_contract.py
β”œβ”€β”€ docs
β”‚   β”œβ”€β”€ README.md
β”‚   └── code_of_conduct.md
β”œβ”€β”€ tests
β”‚   β”œβ”€β”€ test_contract_form.py
β”‚   └── test_contract_generation.py
└── assets
    β”œβ”€β”€ images
    β”‚   β”œβ”€β”€ associated.jpg
    β”‚   β”œβ”€β”€ sale_carro.png
    β”‚   └── sale_casa.pdf

About

License:Other


Languages

Language:HTML 46.5%Language:CSS 30.8%Language:Python 21.6%Language:Shell 1.0%