feat: implement platform management system with authentication and dashboard

- Add PlatformUser model with roles (SUPER_ADMIN, ADMIN, SUPPORT)
- Implement platform authentication with NextAuth
- Create platform dashboard showing companies, users, and sessions
- Add platform API endpoints for company management
- Update landing page with SaaS design
- Include test improvements and accessibility updates
This commit is contained in:
2025-06-28 12:41:50 +02:00
parent aa0e9d5ebc
commit 60d1b72aba
18 changed files with 1190 additions and 53 deletions

14
TODO
View File

@ -3,12 +3,14 @@
## 🚀 CRITICAL PRIORITY - Architectural Refactoring
### Phase 1: Service Decomposition & Platform Management (Weeks 1-4)
- [ ] **Create Platform Management Layer**
- [ ] Add Organization/PlatformUser models to Prisma schema
- [ ] Implement super-admin authentication system (/platform/login)
- [ ] Build platform dashboard for Notso AI team (/platform/dashboard)
- [ ] Add company creation/management workflows
- [ ] Create company suspension/activation features
- [x] **Create Platform Management Layer**
- [x] Add Organization/PlatformUser models to Prisma schema
- [x] Implement super-admin authentication system (/platform/login)
- [x] Build platform dashboard for Notso AI team (/platform/dashboard)
- [x] Add company creation/management workflows
- [x] Create company suspension/activation features
- [x] Create stunning SaaS landing page with modern design
- [x] Add proper SEO metadata and OpenGraph tags
- [ ] **Extract Data Ingestion Service (Golang)**
- [ ] Create new Golang service for CSV processing