Points Shop is a new feature we are introducing to the HackIllinois 2024 app! Points Shop allows attendees to redeem points they have earned through attending events for prizes. The shop will display prizes and their quantities. These quantities will be refreshed via API calls.
Tasks:
[x] Implement new mobile designs (refer to Figma).
[x] Replace the leaderboard icon on the bottom nav bar with the points shop icon.
[x] For now, comment out the leaderboard functionality (just in case we end up needing it).
Functionality:
[x] Fetch shop data from GET /shop/ endpoint (in progress here).
[x] Create a new PointShop model class. You will have to create a model class under Models, Models/CoreDataModels, and HIAPI/Models.
[x] Create a new service titled PointsShopService. This is where API endpoints will be created.
Reference the photos I attached below if you have any questions on the locations of where things should go.
[x] Display the user's current point (coin) balance, as well as all point shop items and their quantities.
[x] Make API calls every ~10 seconds to refresh shop quantities.
Points Shop is a new feature we are introducing to the HackIllinois 2024 app! Points Shop allows attendees to redeem points they have earned through attending events for prizes. The shop will display prizes and their quantities. These quantities will be refreshed via API calls.
Tasks:
Functionality:
GET /shop/ endpoint
(in progress here).PointShop
model class. You will have to create a model class under Models, Models/CoreDataModels, and HIAPI/Models.