sderacy / gooncard

The Goon Squad's Goon Card Project for CSC 355 ('22)
http://gooncard.hpc.tcnj.edu:3000/
MIT License
6 stars 2 forks source link

Displays user accounts on home page, QR code generates with toggled accounts. #87

Closed paytonshaltis closed 2 years ago

paytonshaltis commented 2 years ago

This PR comes naturally from #83 and closes #84.

The same API endpoint is called on the home page in order to display the user's actual linked accounts rather than just placeholders. The toggle switches also add/remove the ID of each account to/from an array when toggled.

These IDs will be used to generate the QR code eventually. For now, the generated QR code scans to show the user the IDs of the accounts that are currently toggled.