-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Is your feature request related to a problem? Please describe.
Many of the API endpoints for instamancer could in theory be ported to a Serverless function that relies on either AWS Lambda (with puppeteer layer) or Google Cloud Functions (that automatically has access to puppeteer by default). This would increase the scalability of the solution and also allow lower level / starter users to take advantage of their free Lambda / function executions on a monthly basis.
Describe the solution you'd like
Add Serverless Framework as a dependency and create a serverless config file to handle configuration when deploying.
Describe alternatives you've considered
Serverless Framework would help to abstract the difference in platforms etc for anyone who wants to run this serverlessly have not considered alternatives.
Additional context
The biggest issue will be data persistence (where to deposit photos / which db to insert records into).