https://github.com/simalexan/sample-serverless-apprepo-app
A sample serverless app for displaying a product and payment using a AWS SAR Stripe component
https://github.com/simalexan/sample-serverless-apprepo-app
aws-sar lambda serverless serverless-application-repository stripe
Last synced: about 2 months ago
JSON representation
A sample serverless app for displaying a product and payment using a AWS SAR Stripe component
- Host: GitHub
- URL: https://github.com/simalexan/sample-serverless-apprepo-app
- Owner: simalexan
- Created: 2019-02-15T00:58:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T20:31:23.000Z (over 6 years ago)
- Last Synced: 2025-02-16T09:41:16.357Z (4 months ago)
- Topics: aws-sar, lambda, serverless, serverless-application-repository, stripe
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample App SAM template with a Stripe component
### Building serverless apps with components from the AWS Serverless Application Repository
Includes:
- `ShowProduct`, a AWS Lambda Function to display a single product
- `ProductsTable`, a AWS DynamoDB Table to store products
- `apilambdastripecharge`, a AWS Serverless Application Repository Component, that exposes a callback to get invoked by Stripe Checkout when your customer clicks Buy on your product.### How to Use
1. `npm run package` - to prepare the SAM application for deployment
2. `npm run deploy` - to deploy the prepared SAM package
3. `npm run describe` - to get the SAM App Output ResultYou will ge the `ApiUrl` which you can then use to display a single product.
## License
MIT