An AWS Lambda-based token generation using Serverless
- An existing AWS Account
- Serverless CLI installation.
- Clone the project.
- Deploy the service:
sls deploy -v
- Invoke the function locally:
sls invoke --local -f createToken
- Invoke the function locally with event:
sls invoke --local -f createToken --path event.json
- Bundle and just see the output:
sls webpack --out dist
- Teardown the service:
sls remove