Files
motovaultpro/docs
Eric Gullickson f494f77150
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 4m35s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 27s
Deploy to Staging / Verify Staging (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
feat: Implement user tier-based feature gating system (refs #8)
Add subscription tier system to gate features behind Free/Pro/Enterprise tiers.

Backend:
- Create feature-tiers.ts with FEATURE_TIERS config and utilities
- Add /api/config/feature-tiers endpoint for frontend config fetch
- Create requireTier middleware for route-level tier enforcement
- Add subscriptionTier to request.userContext in auth plugin
- Gate scanForMaintenance in documents controller (Pro+ required)
- Add migration to reset scanForMaintenance for free users

Frontend:
- Create useTierAccess hook for tier checking
- Create UpgradeRequiredDialog component (responsive)
- Gate DocumentForm checkbox with lock icon for free users
- Add SubscriptionTier type to profile.types.ts

Documentation:
- Add TIER-GATING.md with usage guide

Tests: 30 passing (feature-tiers, tier-guard, controller)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 14:34:47 -06:00
..
2026-01-03 12:01:53 -06:00
2025-12-29 21:09:32 -06:00
2026-01-03 15:10:19 -06:00
2025-11-02 09:37:58 -06:00
2026-01-03 15:10:19 -06:00
2025-12-31 16:07:32 -06:00
2026-01-03 15:10:19 -06:00
2025-11-04 18:38:06 -06:00
2026-01-03 15:10:19 -06:00
2025-10-16 19:20:30 -05:00
2026-01-03 15:10:19 -06:00

MotoVaultPro Documentation

Project documentation hub for the 5-container single-tenant architecture with integrated platform feature.

Navigation

  • Architecture: docs/PLATFORM-SERVICES.md
  • Security: docs/SECURITY.md
  • Vehicles API (authoritative): docs/VEHICLES-API.md
  • Database schema: docs/DATABASE-SCHEMA.md
  • Testing (containers only): docs/TESTING.md
  • Database Migration: docs/DATABASE-MIGRATION.md
  • Development Environment: docker-compose.yml
  • Application features (start at each README):
    • backend/src/features/admin/README.md - Admin role management and oversight
    • backend/src/features/auth/README.md - User signup and email verification
    • backend/src/features/backup/README.md - Database backup and restore
    • backend/src/features/documents/README.md - Document storage and management
    • backend/src/features/fuel-logs/README.md - Fuel consumption tracking
    • backend/src/features/maintenance/README.md - Maintenance records
    • backend/src/features/notifications/README.md - Email and toast notifications
    • backend/src/features/onboarding/README.md - User onboarding flow
    • backend/src/features/platform/README.md - Vehicle data and VIN decoding
    • backend/src/features/stations/README.md - Gas station search and favorites (Google Maps integration)
    • backend/src/features/terms-agreement/README.md - Terms & Conditions acceptance audit
    • backend/src/features/user-export/README.md - User data export (GDPR)
    • backend/src/features/user-preferences/README.md - User preference settings
    • backend/src/features/user-profile/README.md - User profile management
    • backend/src/features/vehicles/README.md - User vehicle management

Notes

  • Canonical URLs: Frontend https://motovaultpro.com, Backend health https://motovaultpro.com/api/health.
  • All 15 features have comprehensive test suites (unit + integration tests).