# Project TODO - ASETQU V.2

# Development Roadmap & Task List

---

## 📋 Document Information

| Item              | Detail           |
| ----------------- | ---------------- |
| **Project Name**  | ASETQU V.2       |
| **Document Type** | Development TODO |
| **Created Date**  | January 2026     |
| **Last Updated**  | January 2026     |

---

## Phase 1: Project Setup & Foundation ✅

### 1.1 Initial Setup

-   [x] Laravel 12.x installation
-   [x] PostgreSQL database configuration
-   [x] nwidart/laravel-modules setup
-   [x] Project documentation (HLD, LLD, Database Design, etc.)

### 1.2 Documentation

-   [x] High Level Design (HLD.md)
-   [x] Low Level Design (LLD.md)
-   [x] Database Design (DATABASE_DESIGN.md)
-   [x] System Flow (SYSTEM_FLOW.md)
-   [x] API Documentation (API_DOCUMENTATION.md)
-   [x] README.md

---

## Phase 2: Module Creation ✅

### 2.1 Create All Modules (Structure Only - No Backend Implementation Yet)

-   [x] Core Module - Shared layouts, components, helpers (Views: master layout, header, footer, partials)
-   [x] Auth Module - Login, register, password reset (Basic structure only)
-   [x] Admin Module - Admin panel, CMS management (Views: dashboard, academy, event, wallet, settings)
-   [x] Page Module - Static pages, CMS content, menu management (Views: explore pages, token dashboard)
-   [x] News Module - Events, newsletter, academy (Basic structure only)
-   [x] Game Module - Gamification system (Views: index, play)
-   [x] Wallet Module - E-wallet management (Basic structure only)
-   [x] Point Module - Points & rewards system (Basic structure only)
-   [x] Dashboard Module - User dashboard (Views: game, wallet, event-detail, profile, point, event, academy, history)
-   [x] Setting Module - Site configuration (Basic structure only)
-   [x] Home Module - Landing page (View: index)

### 2.2 Module Dependencies

```
Core (Base)
  ├── Home (depends on Core)
  ├── Auth (depends on Core)
  ├── Admin (depends on Core, Auth)
  ├── Page (depends on Core)
  ├── News (depends on Core, Auth)
  ├── Game (depends on Core, Auth, Point)
  ├── Wallet (depends on Core, Auth)
  ├── Point (depends on Core, Auth)
  ├── Dashboard (depends on Core, Auth, Wallet, Point)
  └── Setting (depends on Core, Admin)
```

---

## Phase 3: Frontend Slicing (HTML/CSS) 🔄

### 3.1 Base Templates Setup ✅

-   [x] Master layout (master.blade.php)
-   [x] Header component with mega menu
-   [x] Footer component
-   [x] SCSS variables
-   [x] Main CSS (app.css) with design system
-   [x] Main JS (app.js) with common functions

### 3.2 Public Pages (Guest)

-   [x] Homepage (structure ready for slicing)
    -   [x] Hero section
    -   [x] Partners section
    -   [x] Features section
    -   [x] Token dashboard preview
    -   [x] Games section
    -   [x] News section
    -   [x] Community Feed
    -   [x] CTA section
-   [x] Tokenomics page (Page Module - explore/tokenomics.blade.php)
-   [x] Whitepaper page (Page Module - explore/whitepaper.blade.php)
-   [x] Roadmap page (Page Module - explore/roadmap.blade.php)
-   [x] Architecture page (Page Module - explore/architecture.blade.php)
-   [x] Ecosystem page (Page Module - explore/ecosystem.blade.php)
-   [x] Audit & Security page (Page Module - explore/audit-security.blade.php)
-   [x] Achievement page (Page Module - explore/achievement.blade.php)
-   [x] Token Dashboard pages
    -   [x] Informasi Token (token-dashboard/informasi-token.blade.php)
    -   [x] Staking Dashboard (token-dashboard/staking.blade.php)
    -   [x] Token Burning (token-dashboard/burning.blade.php)
-   [ ] Contact page

### 3.3 Auth Pages

-   [x] Login page (Modal in Core Module - login-modal.blade.php)
-   [x] Register page (Auth Module - register.blade.php)
-   [x] 2FA Verification page (Auth Module - 2fa-verify.blade.php)
-   [ ] Forgot password page
-   [ ] Reset password page
-   [ ] Email verification page

### 3.4 User Dashboard Pages

-   [x] Dashboard overview (Dashboard Module - index.blade.php)
-   [x] Profile page (Dashboard Module - profile.blade.php)
-   [x] Wallet management page (Dashboard Module - wallet.blade.php)
-   [x] Game center page (Dashboard Module - game.blade.php)
-   [x] Redeem/Points page (Dashboard Module - redeem.blade.php)
-   [x] Event list page (Dashboard Module - event.blade.php)
-   [x] Event detail page (Dashboard Module - event-detail.blade.php)
-   [ ] Academy (video list) page (needs implementation in Dashboard)
-   [ ] Watch history page (needs implementation in Dashboard)

### 3.5 Admin Panel Pages

-   [x] Admin dashboard (Admin Module - dashboard.blade.php)
-   [x] User management (Admin Module - users/index.blade.php + form views)
-   [x] Header menu management (Admin Module - settings/header/)
-   [x] Footer content management (Admin Module - settings/footer/)
-   [ ] Page management (needs implementation)
-   [x] Event management (Admin Module - event/index.blade.php + form.blade.php + show.blade.php)
-   [x] Academy video management (Admin Module - academy/index.blade.php + form.blade.php + show.blade.php)
-   [x] Testimonial/Review management (Admin Module - testimonial/ + settings/ulasan/)
-   [x] FAQ management (Admin Module - faq/)
-   [x] Partner management (Admin Module - partner/)
-   [x] Hero Banner management (Admin Module - hero-banner/ + settings/hero-banner.blade.php)
-   [x] Settings pages (Admin Module - settings/general.blade.php, token.blade.php)
-   [x] Games management (Admin Module - games/)
-   [x] Wallet management page (Admin Module - wallet/index.blade.php + form.blade.php + show.blade.php)

---

## Phase 4: Database & Migrations ⏳

### 4.1 Core Tables (Laravel Default)

-   [x] users table migration (Laravel default) ✅
-   [x] sessions table migration (Laravel default) ✅
-   [x] password_reset_tokens migration (Laravel default) ✅
-   [x] cache table migration (Laravel default) ✅
-   [x] jobs table migration (Laravel default) ✅

### 4.2 Permission Tables (Spatie)

-   [ ] Install Spatie Laravel Permission package ⏳
-   [ ] roles migration
-   [ ] permissions migration
-   [ ] model_has_roles migration
-   [ ] model_has_permissions migration
-   [ ] role_has_permissions migration

### 4.3 CMS Tables (Page Module)

-   [x] menus migration ✅ (2026_01_12_000001_create_menus_table.php)
-   [ ] menu_items migration ⏳
-   [x] social_media_links migration ✅ (2026_01_12_000002_create_social_medias_table.php)
-   [x] footer_settings migration ✅ (2026_01_09_063325_create_footer_settings_table.php)
-   [x] header_settings migration ✅ (2026_01_09_063301_create_header_settings_table.php)
-   [ ] pages migration ⏳
-   [ ] sections migration ⏳
-   [x] faqs migration ✅ (2026_01_09_000004_create_faqs_table.php)
-   [x] testimonials migration ✅ (2026_01_09_000002_create_testimonials_table.php)
-   [x] partners migration ✅ (2026_01_09_000003_create_partners_table.php)
-   [ ] roadmap_phases migration ⏳
-   [ ] roadmap_items migration ⏳

### 4.4 Event Tables (News Module)

-   [x] events migration ✅ (2026_01_09_070128_create_events_table.php)
-   [x] event_registrations migration ✅ (2026_01_09_070225_create_event_registrations_table.php)
-   [ ] newsletters migration ⏳
-   [ ] newsletter_subscribers migration ⏳

### 4.5 Academy Tables (News Module)

-   [x] academy_videos migration ✅ (2026_01_09_070201_create_academy_videos_table.php)
-   [ ] video_watch_history migration ⏳

### 4.6 Wallet Tables (Wallet Module)

-   [ ] wallet_platforms migration ⏳
-   [ ] wallets migration ⏳
-   [ ] wallet_balances migration ⏳

### 4.7 Gamification Tables (Game & Point Module)

-   [x] games migration ✅ (2024_01_01_000001_create_games_table.php)
-   [x] game_sessions migration ✅ (2024_01_01_000002_create_game_sessions_table.php)
-   [ ] leaderboards migration ⏳
-   [x] coins migration ✅ (2024_01_01_000003_create_coins_table.php)
-   [x] points migration ✅ (2024_01_01_000004_create_points_table.php)
-   [x] coin_conversions migration ✅ (2024_01_01_000005_create_coin_conversions_table.php)
-   [ ] daily_rewards migration ⏳

### 4.8 System Tables (Setting Module)

-   [x] hero_banners migration ✅ (2026_01_09_000001_create_hero_banners_table.php)
-   [x] user enhancements ✅ (status, 2FA fields added)
-   [ ] settings migration ⏳
-   [ ] media migration ⏳
-   [ ] activity_logs migration ⏳

---

## Phase 5: Backend Development 💻
x] User registration (AuthController) ✅ Basic structure
-   [x] Login/logout functionality ✅ Routes defined
-   [x] 2FA verification flow ✅ Routes & views ready
-   [ ] Email verification ⏳
-   [ ] Password reset flow ⏳
-   [ ] Role & permission seeding ⏳
-   [x] Middleware setup (admin, redirect.if.admin) ✅ Partial

### 5.2 CMS Functionality

-   [x] Hero Banner CRUD ✅ (HeroBannerController + Model + Views)
-   [x] Testimonial CRUD ✅ (TestimonialController + Model + Views)
-   [x] Partner CRUD ✅ (PartnerController + Model + Views)
-   [x] FAQ CRUD ✅ (FaqController + Model + Views)
-   [x] Header Settings CRUD ✅ (HeaderSettingController + Model + Views)
-   [x] Footer Settings CRUD ✅ (FooterSettingController + Model + Views)
-   [ ] Menu item reordering (drag & drop) ⏳
-   [ ] Social media links CRUD ⏳ (Model exists, controller needed)
-   [ ] Static page CRUD ⏳
-   [ ] Roadmap CRUD ⏳

### 5.3 Event Management

-   [x] Event CRUD (admin) ✅ (EventController + Model + Views)
-   [x] Event model & migration ✅
-   [ ] Event date uniqueness validation (in controller) ⏳
-   [ ] Event registration (user) ⏳
-   [ ] Email reminder system (cron job) ⏳
-   [ ] Event calendar view ⏳

### 5.4 Academy System

-   [x] Video CRUD (admin) ✅ (AcademyController + Model + Views)
-   [x] Academy model & migration ✅
-   [ ] YouTube URL parser ⏳
-   [ ] Video listing with filters ⏳
-   [ ] Watch history tracking ⏳
-   [ ] View count increment ⏳

### 5.5 Wallet Integration

-   [ ] Wallet platform seeder ⏳
-   [ ] Wallet models creation ⏳
-   [ ] Add wallet functionality ⏳
-   [ ] Primary wallet management ⏳
-   [ ] Balance sync (manual trigger) ⏳

### 5.6 Gamification System

-   [x] Game CRUD (admin) ✅ (GameController + Views)
-   [x] Game & GameSession models ⏳ Basic structure
-   [ ] Game session management ⏳
-   [ ] Score submission & validation ⏳
-   [ ] Coin reward calculation ⏳
-   [ ] Leaderboard system ⏳
-   [ ] Daily reward claim ⏳
-   [ ] Coin to point conversion ⏳

### 5.7 User Dashboard

-   [x] Dashboard controller ✅ Basic routes
-   [ ] Dashboard statistics ⏳
-   [ ] Profile management ⏳
-   [ ] Activity history ⏳
-   [ ] User services ⏳

### 5.8 User Management (Admin)

-   [x] User CRUD (admin) ✅ (UserController + Views)
-   [x] User model enhancements ✅ (status, 2FA fields)
-   [ ] Role assignment ⏳
-   [ ] User activity logs ⏳
-   [ ] Dashboard statistics
-   [ ] Profile management
-   [ ] Activity history

---

## Phase 6: API Development 🔌

### 6.1 Authentication API

-   [ ] POST /auth/register
-   [ ] POST /auth/login
-   [ ] POST /auth/logout
-   [ ] POST /auth/forgot-password
-   [ ] POST /auth/reset-password

### 6.2 Public API

-   [ ] GET /pages/{slug}
-   [ ] GET /roadmap
-   [ ] GET /faqs
-   [ ] GET /testimonials
-   [ ] GET /events
-   [ ] GET /events/{slug}
-   [ ] GET /academy/videos

### 6.3 Protected API

-   [ ] Wallet endpoints
-   [ ] Game endpoints
-   [ ] Point/Coin endpoints
-   [ ] Event registration endpoints
-   [ ] Academy watch tracking

---

## Phase 7: Testing 🧪

### 7.1 Unit Tests

-   [ ] Service layer tests
-   [ ] Repository tests
-   [ ] Model tests

### 7.2 Feature Tests

-   [ ] Authentication tests
-   [ ] API endpoint tests
-   [ ] CMS functionality tests

### 7.3 Browser Tests (Optional)

-   [ ] User journey tests
-   [ ] Admin panel tests

---

## Phase 8: Optimization & Deployment 🚀

### 8.1 Performance

-   [ ] Database indexing review
-   [ ] Query optimization
-   [ ] Caching implementation
-   [ ] Asset optimization (Vite build)

### 8.2 Security

-   [ ] CSRF protection verification
-   [ ] XSS prevention check
-   [ ] SQL injection prevention check
-   [ ] Rate limiting setup
& Basic Backend (Current Sprint)

1. ✅ Complete homepage structure with all sections (Done)
2. ✅ Create explore pages (tokenomics, whitepaper, roadmap, etc.) (Done)
3. ✅ Complete token dashboard pages (staking, burning, info) (Done)
4. ✅ Create user dashboard pages (Done - 7 views)
5. ✅ Create admin panel pages (Done - extensive views)
6. ✅ Create auth pages (Login modal, Register, 2FA) (Partial - missing password reset)
7. 🔄 Implement basic controllers (In Progress - 26 controllers created)
8. 🔄 Create models (In Progress - 12 models created)

### Sprint 3: Database & Complete Backend (Next Sprint)

1. ⏳ Install Spatie Permission package
2. 🔄 Complete remaining migrations (14/35 done - 40%)
3. 🔄 Create remaining Eloquent models with relationships
4. ⏳ Create seeders for initial data (default users, wallet platforms)
5. ⏳ Create factories for testing
6. 🔄 Implement service layer (5 services started)
7. ⏳ Implement repository pattern

### Sprint 4: Core Features Implementation

1. 🔄 Complete authentication system (Basic structure done)
2. 🔄 Complete CMS functionality (Hero, Testimonial, FAQ done - 50%)
3. ⏳ User profile & dashboard backend
4. 🔄 Admin panel backend (Controllers exist - need implementation)
5. ⏳ Event registration & reminder system
6. ⏳ Academy video tracking

### Sprint 5: Advanced Features

1. ⏳ Wallet integration (Models & migrations needed)
2. ⏳ Game system with coin rewards (Structure ready)
3. ⏳ Points & rewards system (Migrations done)
4. ⏳ Event email reminders (cron job)
5. ⏳ Academyission package                 |
| ----------------- | -------------- | -------- | ------------------------------------------------------------ |
| Phase 1: Setup    | ✅ Complete    | 100%     | Laravel 12, PostgreSQL, Modules configured                   |
| Phase 2: Modules  | ✅ Complete    | 100%     | All 11 modules created with routes & basic structure         |
| Phase 3: Slicing  | 🔄 In Progress | 75%      | 105 blade files created across all modules                   |
| Phase 4: Database | 🔄 In Progress | 40%      | 21 migrations done (14 custom + 7 Laravel default)           |
| Phase 5: Backend  | 🔄 In Progress | 35%      | 26 Controllers, 12 Models, 5 Services created                |
| Phase 6: API      | ⏳ Pending     | 0%       | No API endpoints implemented yet                             |
| Phase 7: Testing  | ⏳ Pending     | 0%       | No tests written                                             |
| Phase 8: Deploy   | ⏳ Pending     | 0%       | Local development only                                       |

### 📁 File Statistics (Actual Count)

| Category                 | Count | Status      | Notes                                 |
| ------------------------ | ----- | ----------- | ------------------------------------- |
| **Modules**              | 11    | ✅ Complete | All modules created with structure    |
| **Blade Views**          | 105   | ✅ Good     | Extensive views across all modules    |
| **Controllers**          | 26    | 🔄 Partial  | Created but need implementation       |
| **Models**               | 12    | 🔄 Partial  | Core models done, need relationships  |
| **Migrations**           | 21    | 🔄 Partial  | 40% done, need 14 more                |
| **Routes (web.php)**     | 11    | ✅ Complete | All modules have routes defined       |
| **Services**             | 5     | 🔄 Started  | Basic structure, need implementation  |
| **Repositories**         | 0     | ⏳ Pending  | Pattern not implemented yet           |

### 🎯 Module-by-Module Status

| Module        | Views  | Controller | Model | Migration | Routes | Status          |
| ------------- | ------ | ---------- | ----- | --------- | ------ | --------------- |
| **Core**      | 15+    | ✅         | -     | ✅        | ✅     | ✅ Complete     |
| **Home**      | 3      | ✅         | -     | ✅        | ✅     | ✅ Complete     |
| **Auth**      | 5      | ✅         | ✅    | ✅        | ✅     | 🔄 80% Done     |
| **Admin**     | 50+    | ✅ (13)    | ✅ (3)| ✅        | ✅     | 🔄 70% Done     |
| **Page**      | 15+    | ✅ (4)     | ⏳    | 🔄        | ✅     | 🔄 60% Done     |
| **Dashboard** | 8      | ✅         | ⏳    | ✅        | ✅     | 🔄 50% Done     |
| **Game**      | 3      | ✅         | ⏳    | ✅        | ✅     | 🔄 50% Done     |
| **News**      | 3      | ⏳         | ✅ (3)| ✅        | ✅     | 🔄 60% Done     |
| **Wallet**    | 3      | ⏳         | ⏳    | ⏳        | ✅     | 🔄 30% Done     |
| **Point**     | 3      | ⏳         | ⏳    | ✅        | ✅     | 🔄 40% Done     |
| **Setting**   | 2      | ⏳         | ⏳    | ⏳        | ✅     | 🔄 30% Done
3. ⏳ User profile & dashboard
4. ⏳ Admin panel functionality

### Sprint 5: Advanced Features

1. ⏳ Wallet integration
2. ⏳ Game system with coin rewards
3. ⏳ Points & rewards system
4. ⏳ Event system with email reminders
5. ⏳ Academy system with watch history

---

## 📊 Progress Tracker

| Phase             | Status         | Progress | Notes                                       |
| ----------------- | -------------- | -------- | ------------------------------------------- |
| Phase 1: Setup    | ✅ Complete    | 100%     | Laravel 12, PostgreSQL, Modules configured  |
| Phase 2: Modules  | ✅ Complete    | 100%     | All 11 modules created with basic views     |
| Phase 3: Slicing  | 🔄 In Progress | 40%      | Homepage & explore pages done, need styles  |
| Phase 4: Database | ⏳ Pending     | 10%      | Only Laravel default tables exist           |
| Phase 5: Backend  | ⏳ Pending     | 0%       | Controllers/Models/Services not implemented |
| Phase 6: API      | ⏳ Pending     | 0%       | No API endpoints yet                        |
| Phase 7: Testing  | ⏳ Pending     | 0%       | No tests written                            |
| Phase 8: Deploy   | ⏳ Pending     | 0%       | Local development only                      |

---

_Document Version: 1.0.0 | Last Updated: January 2026_
