Files
rentman-clone/.a0/next_steps.md
T
Agent Zero 7f7da15965 Initial commit: Rentman Clone - Phase 0-6 (T001-T023)
Completed:
- Phase 0: Project Setup (T001-T003) - Docker Compose, FastAPI skeleton, React SPA
- Phase 1: Auth System (T004-T008) - DB models, JWT auth, RBAC middleware, user management
- Phase 2: Contacts & Tags (T009-T011) - CRUD API + UI
- Phase 3: Equipment Catalog (T012-T014) - Models, API, UI with barcode/QR
- Phase 4: Crew Management (T015-T017) - Models, availability, UI
- Phase 5: Vehicle Fleet (T018-T020) - Models, assignments, UI
- Phase 6: Projects (T021-T023) - Project hierarchy models, CRUD API, list/detail UI
2026-05-31 20:36:42 +00:00

1.5 KiB
Raw Blame History

Next Steps

Completed Phases

  • Phase 0: Project Setup (T001-T003)
  • Phase 1: Auth System (T004-T008)
  • Phase 2: Contacts & Tags (T009-T011)

Next Phase: 3 Equipment Catalog

Priority Tasks

  1. T012: Create database models for Equipment catalog and StockLocation

    • Equipment model: name, category, brand, serial_number, barcode, qr_code, status, purchase_price, current_value, weight_kg, dimensions, power_watt, notes, custom_fields
    • StockLocation model: name, address, is_default
    • EquipmentGroup (Bundle) with M2M items
    • Relationships to Account, Contact (supplier?)
    • Alembic migration
  2. T013: Implement Equipment catalog API

    • CRUD endpoints: GET/POST /api/v1/equipment, GET/PUT/DELETE /api/v1/equipment/{id}
    • Search, filter by category/status/location, pagination
    • Auto-generate barcode/QR code
    • Batch import/export CSV
    • Permission: equipment:read, equipment:write, equipment:delete
  3. T014: Equipment catalog UI

    • Equipment list page with grid/table toggle
    • Search/filter by category, status, location
    • Detail page with image, edit form
    • Barcode/QR code display and print label

Implementation Notes

  • Use existing patterns from contacts module: models → schemas → router → frontend pages
  • All endpoints must use tenant isolation (account_id filter)
  • All endpoints must use RBAC permissions via require_permission dependency
  • Frontend uses existing API client, Zustand for auth, React state for data
  • AppLayout sidebar already has Equipment link (placeholder)