6 Commits

Author SHA1 Message Date
Najjar\NajjarV02
11ab8908fa feat: enhance pricing and persona synchronization logic for improved data consistency
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
2026-04-17 16:08:11 +04:00
Najjar\NajjarV02
13050a6541 feat: fetch and auto-register personas from server pricing items
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
2026-04-17 15:58:00 +04:00
Najjar\NajjarV02
6dc705b332 feat: add AttireErrorBoundary component for improved error handling in attire model loading
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
2026-04-17 15:19:54 +04:00
Najjar\NajjarV02
0793a650fb feat: add Robot Doctor and Security Guard personas with pricing and model paths
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
2026-04-17 10:10:54 +04:00
Najjar\NajjarV02
51671b85b8 feat: Integrate Stripe payment processing and enhance admin settings management
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
- Removed the previous demo payment system and implemented a real integration with Stripe for handling payments.
- Added new API routes for creating payment intents and handling webhooks from Stripe.
- Updated the database schema to include an Order model for storing payment details.
- Enhanced the admin page to manage pricing items, including the ability to upload 3D models.
- Introduced a settings management feature for the admin panel, allowing for dynamic key-value pairs.
- Improved the RobotModel component to support dynamic attire based on uploaded models.
- Added error handling and validation for file uploads and settings management.
2026-04-14 10:14:18 +04:00
Najjar\NajjarV02
05b540997e feat: add admin authentication and management features
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
- Implemented Prisma schema with models for AdminUser, AppSettings, and Snapshot.
- Created seed script to initialize the database with an admin user and JWT secret.
- Developed admin login page with form handling and error management.
- Added API routes for admin login, logout, change password, and JWT verification.
- Integrated Stripe for payment intent management in admin orders.
- Established middleware for protecting admin routes with JWT authentication.
- Created Zustand stores for managing persona and snapshot states.
2026-04-13 17:57:59 +04:00