This app is an example of a serverless deployment of ServeRX-ts.
serverless must be installed.
Be sure to include the following options in
tsconfig.json
when building ServeRX-ts applications:
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true
}
}
To deploy, first modify aws.yml
appropriately. Then:
npm install # one time only
npm run deploy-aws
See https://g0776hjw2i.execute-api.us-east-1.amazonaws.com/dev/openapi.yml for the sample in action.
To deploy, first modify gcf.yml
appropriately. Then:
npm install # one time only
npm run deploy-gcf
https://us-east1-gcf-project-89309.cloudfunctions.net/gcf/openapi.yml not currently working