8000 GitHub - ratthapon/double-entry-api
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ratthapon/double-entry-api

Repository files navigation

Serverless Double Entry Bookkeeping for Scalable Currency API

How to deployment in local dev

1. Setup AWS account and any neccessary IAM

2. Install SAM CLI as explained in this guide

3. Setup SAM config by

sam init

setup deployment specs in samconfig.toml

sam deploy --guided

setup deployment specs in samconfig.toml

4. Run dev environment locally

sam local start-api --region ap-southeast-1

How to deploy in prod env

Follows step 1-3 as above. Then invoke deploy command.

sam build && sam deploy --stack-name double-entry-api

How to deploy in hybrid cloud-local env

This will update the stack on cloud if the local files were changed.

sam sync --stack-name double-entry-api --region ap-southeast-1 --watch
// OR specify --resource-id defined in template.yaml
sam sync --stack-name double-entry-api --region ap-southeast-1 --resource-id CurrencyFund --watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0