deckhearth/src
Randall Stillwell dc95d0d76d Implement complete user authentication and admin panel system
 Features Added:
- User registration and login with JWT authentication
- Role-based access control (user/admin)
- Comprehensive admin panel with user management
- Password hashing with bcrypt
- Session management and token storage
- Protected routes and public routes
- Modern login/register forms with validation

🗄️ Database Schema:
- Users table with profile information
- Roles and permissions system
- User-role junction tables
- Session management tables
- Database triggers and indexes

🎨 UI/UX Improvements:
- Updated navigation with user menu
- Admin badge and access controls
- Responsive authentication forms
- Loading states and error handling
- Role-based UI elements

🔧 API Endpoints:
- /api/auth/login - User authentication
- /api/auth/register - User registration
- /api/admin/users - User management (admin only)
- /api/setup-auth - Database schema setup

🚀 Admin Panel Features:
- User listing with search and pagination
- Role assignment (user/admin)
- User activation/deactivation
- System dashboard with stats
- Card management placeholder
- Real-time user management
2025-07-21 21:06:38 -05:00
..
components Implement complete user authentication and admin panel system 2025-07-21 21:06:38 -05:00
config 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
contexts Implement complete user authentication and admin panel system 2025-07-21 21:06:38 -05:00
data 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
hooks 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
pages Implement complete user authentication and admin panel system 2025-07-21 21:06:38 -05:00
services 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
styles 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
App.css 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
App.test.tsx 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
App.tsx Implement complete user authentication and admin panel system 2025-07-21 21:06:38 -05:00
index.css 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
index.tsx 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
logo.svg 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
react-app-env.d.ts 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
reportWebVitals.ts 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
setupTests.ts 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00