Commit graph

2 commits

Author SHA1 Message Date
Randall Stillwell
0a03f0ed14 🚀 Convert to mobile-first PWA with purple theme
- Add PWA configuration (manifest.json, service worker)
- Implement light/dark theme system with purple accents
- Replace desktop navbar with mobile-first bottom navigation
- Redesign auth forms with mobile-optimized UI
- Update Dashboard with gradient cards and touch-friendly actions
- Add safe area support for iOS devices
- Implement theme context with system preference detection
- Optimize touch targets and mobile interactions
- Add offline functionality through service worker
2025-07-22 18:52:39 -05:00
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