sandboxnu / boba-buddies

Sandbox's virtual water cooler conversation app.
GNU General Public License v3.0
1 stars 0 forks source link

Add dynamodb client and refactor usages of json file from scripts #32

Closed VKong6019 closed 2 years ago

VKong6019 commented 2 years ago

Issue: https://github.com/sandboxnu/boba-buddies/issues/29

HI i took the liberty in adding AWS sdk to include the DynamoDB client and refactor some usages of the pairings.json file from the manual scripts. Most of the logic for interacting with the DynamoDB tables we have are in the usersDataManager.ts and pairsDataManager.ts that pretty much includes some basic CRUD methods.

~IMPORTANT: the refactoring part hasn't been tested yet so I will need to do that tomorrow and this will be fully ready for review~

VKong6019 commented 2 years ago

cool beans, i just tested it with the scripts and fix some bugs. i think it should be good to go after review!