Skip to content

Feature/membership system refractor #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 60 commits into
base: dev
Choose a base branch
from

Conversation

DarinHajou
Copy link
Member

This PR refactors the membership system to use its own Membership model instead of relying on UserSettings. Membership details like membership_class, mappi_balance, and membership_expiration are now managed independently, with pi_uid as the key identifier.

The Tiers model is still used to define membership tiers. This implementation is cleaner and more focused. Next up is integrating the frontend UI and handling payments with the Pi SDK.

Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
map-of-pi-backend-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 3:54am

@swoocn
Copy link
Member

swoocn commented Feb 13, 2025

Membership API operations + results [via Swagger UI]

image

image

@swoocn
Copy link
Member

swoocn commented Feb 13, 2025

Transaction API operations + results [via Swagger UI]

image

image

@swoocn
Copy link
Member

swoocn commented Feb 13, 2025

Hi @DarinHajou - could you please review the latest and finalized PR updates and approve if you agree with the changes? Please let me know otherwise. In the meantime, I'll be reviewing your FE changes and make PR adjustments for that to work with the updated BE. Thx!

@swoocn swoocn self-requested a review February 13, 2025 14:44
@swoocn swoocn mentioned this pull request Feb 23, 2025
@swoocn swoocn added the pending-c/o-feedback Awaiting feedback from Code Owner. label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-c/o-feedback Awaiting feedback from Code Owner.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants