Skip to content

wealth-wave/investment_value_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Investment Value API

This project contains a lambda function to fetch investment values from different sources.

Setup

  1. Rename .env.template to .env and update it with your actual secret keys.

Deployment

To deploy the lambda function, run the following command:

npm --prefix ./lambda run release && source .env && terraform -chdir=terraform apply

This will create the necessary AWS resources and deploy the lambda function.

Usage

You can invoke the lambda function with an HTTP GET request. The request should include query parameters for the investment code, investment source, and investment type.

For example:

curl "https://your-api-gateway-url.com/prod/investment_api?investment_code=abc&investment_source=source1"

About

REST API to fetch investment value on AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors