Skip to content

crgmzlps/certificado-api

Repository files navigation

certificado-api

API for generating course completion certificates

tools

starting the app

cd certificado-api
npm i
npm start

how to use

Store the template for our certificates. the API will return the templateCode

http -f post localhost:3000/templates file@~/exemplo-certificado.hbs #POST multipart/form-data

Generate our conclusion certificate

http post localhost:3000/certificados name="John Doe" course="Node.js quick start" templateCode=7fa4730e-4013-42eb-a087-587afa0be43d date="01/01/2021" > certificate.pdf #classic POST request with JSON

With this two commands we can generate our certificates

About

API para geração de certificados

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published