Skip to content

feat: implement API client and user authentication storage#86

Merged
zakkiyyat merged 1 commit intoMixMatch-Inc:mainfrom
devdeen213:chore/apiandcleanup
Sep 27, 2025
Merged

feat: implement API client and user authentication storage#86
zakkiyyat merged 1 commit intoMixMatch-Inc:mainfrom
devdeen213:chore/apiandcleanup

Conversation

@devdeen213
Copy link
Contributor

What's done:

  • Removed default Expo boilerplate (components, screens, hooks)
  • Simplified project structure for scalability
  • Set up centralized axios instance with base URL from env (EXPO_PUBLIC_API_URL)
  • Added request/response interceptors (including token injection)
  • Implemented a reusable useApi hook for managing API state (loading, error, data)
  • Defined a scalable API module pattern (services/ directory)
  • Added example usage in HomeScreen
  • Integrated Expo Secure Store for token storage

closes #85

Copy link
Contributor

@zakkiyyat zakkiyyat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks for the effort.

@zakkiyyat zakkiyyat merged commit a4e6723 into MixMatch-Inc:main Sep 27, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup scalable API layer with Axios and custom hooks

2 participants