Feat: Axios client, TanStack Query & GDPR endpoints#861
Merged
mftee merged 2 commits intoJun 28, 2026
Conversation
- Set up axios API client with JWT auth interceptor and silent refresh on 401 (CodeGirlsInc#813) - Set up TanStack Query provider and hooks for API data fetching (CodeGirlsInc#814) - Implement GET /api/users/me/export for GDPR data export (CodeGirlsInc#811) - Implement DELETE /api/users/me/data for GDPR account erasure (CodeGirlsInc#812) Closes CodeGirlsInc#813, CodeGirlsInc#814, CodeGirlsInc#811, CodeGirlsInc#812
Contributor
|
@demilade18-git is attempting to deploy a commit to the Mftee's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@demilade18-git Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
mftee
approved these changes
Jun 28, 2026
Closed
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
FE-01: Axios API Client with JWT Interceptor (#813)
lib/api-client.tswith Axios instance pointing toNEXT_PUBLIC_API_URL/auth/refreshFE-02: TanStack Query Setup (#814)
lib/query-provider.tsxwithQueryClientProvider(5min stale time, 2 retries)lib/query-hooks.tswith typed hooks for auth, documents, organizations, sharing, and admin endpointsQueryProviderBE-87: GDPR Data Export (#811)
GET /api/users/me/exportreturns user profile (minus secrets), documents, and verification records as JSONBE-88: GDPR Account Erasure (#812)
DELETE /api/users/me/dataanonymizes personal data (email, name, password hash) while preserving record integrityTesting Notes
localStoragetoken attachment and 401 refresh flowCloses #813
Closes #814
Closes #811
Closes #812