MyMood-Alexa / MyMood-Interface

0 stars 2 forks source link

[DI-2.1] Main Page Backend #8

Closed jtam360 closed 5 years ago

jtam360 commented 6 years ago

-Have the database interface viewable remotely -Backend changes hooked up to front end -Front end should dynamically receive backend data -v1 of main page; should be working and awaiting feature additions -Have the database interface consume data from an endpoint instead of locally

child of #14 connects #14

jtam360 commented 5 years ago

To hook up our server with DynamoDB we chose to utilize the dynamodb package. We used IAM roles to connect our EC2 instance with DynamoDB, so we just needed to pass in an Access Key, Secret Access Key, and region. We used environment variables to hide our private keys so we don't commit them to GitHub by using the dotenv module which allows us to load environment variables from a text file.