feat: update environment variables for development and production; add user store and authentication client

- Updated VITE_API_URL in .env.development to point to local server.
- Retained VITE_API_URL in .env.production for production use.
- Added user store for managing user profile and authentication state.
- Created authentication client for handling user login and token management.
- Introduced safeClient utility for making API requests with error handling.
- Updated various components and views to utilize new user store and authentication logic.
- Enhanced UI styles for better visual consistency across the application.
This commit is contained in:
2026-01-17 17:23:38 +07:00
parent 1239935b57
commit 7ec2522fa0
22 changed files with 353 additions and 68 deletions

View File

@@ -45,7 +45,7 @@ const { t } = useI18n();
ion-tab-bar {
height: 70px;
--background: white;
box-shadow: 0px 0px 12px var(--ion-color-tertiary);
box-shadow: 0px 0px 12px #cfe3ff;
padding-bottom: var(--ion-safe-area-bottom);
}
.icon {