Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

PDF Certificate Service

Description

MICROService for generating PDFs for GRAMACHECK

Installation

npm install

Usage

npm start

Endpoints

POST /generateCertificate

  • Description: Generates a Grama Niladari Certificate in PDF format based on provided data.
  • Request:
    • Body: JSON object containing the following fields:
      • district (String): District information.
      • division (String): Divisional Secretary's Division information.
      • gramaNiladariDivision (String): Grama Niladari Division information.
      • ... (other fields)
  • Response:
    • Content: PDF file containing the generated Grama Niladari Certificate based on provided data.

Example

POST /generateCertificate
Content-Type: application/json

{
  "district": "KURUNEGALA",
  "division": "Some where",
  "gramaNiladariDivision": "IhalaKalugamuwa",
  "nameAddress": "John Doe, Sample Address",
  "sex": "Male",
  "age": "30",
  "civilStatus": "Single",
  "srilankan": "Yes",
  "religion": "Buddhist",
  "occupation": "Software Developer",
  "NIC": "123456789V",
  "policeClearanceRefNum": "ABC123XYZ",
  "gramaNiladhariSignature": "Signature Placeholder"
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages