Skip to content

Brymastr/wealth-for-ynab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wealth-for-ynab

Initial deploy (per environment)

$ ./misc/create-registries <ENV NAME>
$ sam build
$ sam deploy --guided

Development

Web

Run npm run serve in the /web directory.

Api

Run sam build in the root directory and then sam local start-api.

Deployment to Dev Environment

Web

Run ./deploy web in the root directory

Api (and the rest of the SAM template)

Run ./deploy api in the root directory

Both

Run ./deploy in the root directory

AWS SSM

These parameters must be created in AWS SSM Parameter Store

Parameter Value
/YNAB/ApiUrl https://api.youneedabudget.com/v1
/YNAB/AuthUrl https://auth.youneedabudget.com/v1
/YNAB/ClientId 1Password
/YNAB/ClientSecret 1Password
/YNAB/AuthRedirectUri {Api}/auth/token
/YNAB/ClientRedirectUri {Api}/auth/login
/Questrade/ApiUrl https://api01.iq.questrade.com
/Questrade/AuthUrl https://login.questrade.com/oauth2/authorize
/Questrade/ClientId 1Password
/Questrade/ClientSecret 1Password