Skip to content
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

WEB-18: API Client #35

Merged
merged 1 commit into from
Dec 4, 2024
Merged

WEB-18: API Client #35

merged 1 commit into from
Dec 4, 2024

Conversation

vinnie4k
Copy link
Collaborator

@vinnie4k vinnie4k commented Nov 8, 2024

Overview

Implement an API Client that allows the application to access an API.

Changes Made

  • Created an apiClient.ts file that uses Axios with generics to retrieve API data.
  • Added TanStack React Query as the library to handle server-side state management.
  • Added environment variable support.
  • Updated constants with documentation.

Test Coverage

  1. Ran a test API call with the backend. Note that you will need the proper environment variables.

Next Steps

  1. Use this client to make API calls.

@vinnie4k vinnie4k added the enhancement New feature or request label Nov 8, 2024
@vinnie4k vinnie4k self-assigned this Nov 8, 2024
@vinnie4k vinnie4k requested a review from helenjb November 8, 2024 03:15
@vinnie4k vinnie4k added this to the MVP Launch milestone Nov 8, 2024
@vinnie4k vinnie4k linked an issue Nov 8, 2024 that may be closed by this pull request
@vinnie4k vinnie4k merged commit 936c4c6 into main Dec 4, 2024
1 check passed
@vinnie4k vinnie4k deleted the WEB-18-api-client branch December 4, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WEB-18: API Client
1 participant