Skip to content

Comments

65 Authentication and API Architecture Refactoring#71

Merged
mrbalov merged 17 commits intomainfrom
feat/65-tanstack-query-1
Feb 23, 2026
Merged

65 Authentication and API Architecture Refactoring#71
mrbalov merged 17 commits intomainfrom
feat/65-tanstack-query-1

Conversation

@mrbalov
Copy link
Collaborator

@mrbalov mrbalov commented Feb 23, 2026

Changelog

[5.3.0] - 2026-02-23

Authentication and API Architecture Refactoring

Added

  • STATUS_CODES constant for HTTP status code definitions
  • API_ENDPOINTS constant replacing the previous ENDPOINTS naming convention
  • New API module structure with dedicated folders for each API operation
  • authUrl prop to HomePage component for configurable authentication URL

Changed

  • Renamed ENDPOINTS to API_ENDPOINTS for better naming consistency
  • Moved authentication hooks from /hooks directory to /api directory for better organization
  • Refactored useAuthStatus to useFetchAuthStatus with improved data fetching pattern
  • Updated HomePage to receive authentication URL as a prop instead of hardcoding
  • Reorganized API exports to centralize all API-related functionality in the /api module

Removed

  • Legacy /hooks/useAuth.ts and /hooks/useAuthStatus.ts files
  • /api/hooks.ts file in favor of direct exports from API modules

@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for torqui failed.

Name Link
🔨 Latest commit 6fdd55b
🔍 Latest deploy log https://app.netlify.com/projects/torqui/deploys/699c6e261cb1e900084dccce

@mrbalov mrbalov changed the title Feat/65 tanstack query 1 65 Authentication and API Architecture Refactoring Feb 23, 2026
@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for torqapi canceled.

Name Link
🔨 Latest commit 6fdd55b
🔍 Latest deploy log https://app.netlify.com/projects/torqapi/deploys/699c6e26a5db9b0008dfcb97

@mrbalov mrbalov enabled auto-merge (squash) February 23, 2026 15:11
@mrbalov mrbalov merged commit 33b671b into main Feb 23, 2026
9 of 13 checks passed
@mrbalov mrbalov deleted the feat/65-tanstack-query-1 branch February 23, 2026 15:12
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.

1 participant