Xin Wang 590cb33cbd Add authentication features for admin access
- Introduce a new `auth` module with login, logout, and user verification endpoints for a single admin user.
- Update backend routes to require admin authentication for sensitive operations, enhancing security.
- Modify frontend components to include an authentication provider and gate, ensuring only authorized users can access the application.
- Implement a login page for admin access, improving user experience and security management.
- Update API request handling to redirect unauthorized users to the login page, ensuring proper access control.
2026-07-09 23:27:50 +08:00
Description
No description provided
2.1 MiB
Languages
TypeScript 50.2%
Python 27.7%
JavaScript 20.5%
CSS 0.8%
Makefile 0.4%
Other 0.3%