-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Beta-CampaignCampaign: Beta-CampaignCampaign: Beta-Campaign
Description
The mobile app needs a robust way to manage global state, specifically for Authentication and the User's Cart.
Requirements:
- Install and configure
zustand. - Create an
useAuthStore(handling user object, token, and login/logout functions). - Create an
useCartStore(handling an array of matched food items). - Integrate
expo-secure-storeto persist the auth token across app restarts.
Acceptance Criteria: - Auth store correctly persists and hydrates the token on app load.
- Logging out clears the state and removes the token from secure storage.
- Cart store can add, remove, and clear items.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Beta-CampaignCampaign: Beta-CampaignCampaign: Beta-Campaign