Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 838 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 838 Bytes

pdf-form-service

This is a microservice prototype based on a clients requirements. Its characteristics are:

  • Generate custom pdfs forms with fillable fields
  • Works on aws lambda functions
  • Implements github actions CI pipeline

As aws lambda functions do not suport PHP natively, it uses a very neat setup with 'Bref', which uses aws cloudformation to create the environment. For more informations on 'Bref' check:

https://bref.sh/

Setup

For composer dependencies run:

composer install

Install AWS CLI, and setup your aws keys:

npm install -g serverless@3
serverless config credentials --provider aws --key "key" --secret "secret"

Deploy

Clean local cache:

php artisan config:clear

Run deploy:

serverless deploy