/transactions-api

Transactions API - Source for the Java/Maven/DynamoDB/API Gateway Serverless Blog Series

Primary LanguageJava

transactions-api

This is the AWS Lambda + API Gateway + DynamoDB project with 2 functions, built and deployed using Serverless framework.

This is to support the series on my blog.

Usage

  1. Set up Serverless Framework and your AWS account as detailed here.

  2. Deploy the Lambda

bash-3.2$ git clone https://github.com/lobster1234/transactions-api.git

bash-3.2$ cd transactions-api

bash-3.2$ mvn clean install

bash-3.2$ serverless deploy

  1. Hit the HTTP endpoints

  2. Destroy the infrastructure

bash-3.2$ serverless remove