This is just a sample application to demonstrate coding capabilities.
- pytest
- boto3
- pandas
- poetry
- Bureau of Economic Analysis (BEA) RESTFUL API
cp example.env .env
- Go to BEA Data Application Programming Interface (API)
- Register for an API key.
- Open email and click on the link
Please click here to activate your key
. - Complete Captcha and click
Activate Key
. - Copy the API key from email.
- Add API key string to environment variable
BEA_API_KEY
in.env
file.
- Go to AWS Management Console
- Click Username in upper-right corner, then
My Security Credentials
. - Click on
Access keys (access key ID and secret access key)
. - Click on
Create New Access Key
. - Copy and add
Access key ID
andSecret access key
to environment variablesAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
in.env
file.
To run the application in a Docker container, execute the following command:
docker-compose --profile sample_2_prod up -d
docker-compose --profile sample_2_dev up -d
docker-compose --profile sample_2_package up -d
docker-compose --profile sample_2_test up -d