develop #1

Merged
wt merged 11 commits from develop into main 2025-08-08 21:55:02 +07:00
Owner
No description provided.
wt added 11 commits 2025-08-08 21:53:50 +07:00
updated NavigationBar AnalyticsModal SettingsModal
This commit implements a full-stack authentication system using JWT.

On the backend, a new login endpoint `/api/token` is created. It
validates credentials and issues a signed JWT. A JWT middleware is added
to the server configuration to protect sensitive API endpoints like
`/api/category` and `/api/operation`. Configuration is now managed via a
`wallet.conf` file, loaded at startup.

On the frontend, this enables a complete authentication lifecycle: - A
new `/login` page allows users to enter their credentials. - A
`PrivateRoute` component wraps protected pages, redirecting
unauthenticated users to the login page. - API calls to protected
resources now include the `Authorization: Bearer <token>` header. - A
logout function is added to clear user session data.

refactor(ui): enhance history and category views

This commit also introduces major UI improvements.

The History modal has been completely redesigned. Operations are no
longer displayed as a flat list but are now grouped into tabs for Daily,
Weekly, Monthly, and Yearly views, providing a much clearer overview of
transactions.

The Categories modal now separates categories into "Incomes" and
"Expenses" tabs, reflecting the changes in the backend data model.
Create build-and-test.yaml
Build and Test / build-and-test (push) Failing after 16s
dfe39aa9fa
Update build-and-test.yaml
Build and Test / build-and-test (push) Failing after 12s
5953f1a9a0
Update build-and-test.yaml
Build and Test / build-and-test (push) Successful in 20s
78247d5ba7
added build-and-test-frontend and deleted frontend tests
Build and Test / build-and-test-backend (push) Successful in 22s
Build and Test / build-and-test-frontend (push) Failing after 30s
015cad5d83
update frontend/.gitignore and added frontend/package-lock.json
Build and Test / build-and-test-backend (push) Successful in 19s
Build and Test / build-and-test-frontend (push) Failing after 5s
3b41f64096
Update build-and-test.yaml
Build and Test / build-and-test-backend (push) Successful in 19s
Build and Test / build-and-test-frontend (push) Successful in 32s
Build and Test / build-and-test-backend (pull_request) Successful in 21s
Build and Test / build-and-test-frontend (pull_request) Successful in 32s
c6ed1d66b0
wt merged commit 7fac67f7f8 into main 2025-08-08 21:55:02 +07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wt/wallet#1