chore: update docs
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# frontend/src/features/
|
||||
|
||||
Feature module directory. Each feature contains pages/, components/, hooks/, api/, types/.
|
||||
|
||||
## Subdirectories
|
||||
|
||||
| Directory | What | When to read |
|
||||
@@ -14,6 +12,8 @@ Feature module directory. Each feature contains pages/, components/, hooks/, api
|
||||
| `maintenance/` | Maintenance record UI | Service tracking, reminders |
|
||||
| `notifications/` | Notification display | Alert UI, notification center |
|
||||
| `onboarding/` | Onboarding wizard | First-time user experience |
|
||||
| `ownership-costs/` | Ownership cost tracking UI | Cost displays, expense forms |
|
||||
| `settings/` | User settings pages | Preferences, account settings |
|
||||
| `stations/` | Gas station finder UI | Station search, favorites, map |
|
||||
| `subscription/` | Subscription and billing UI | Stripe integration, plan management |
|
||||
| `vehicles/` | Vehicle management UI | Vehicle list, details, forms |
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# frontend/src/features/subscription/
|
||||
|
||||
Subscription and billing management feature with Stripe integration.
|
||||
# subscription/
|
||||
|
||||
## Files
|
||||
|
||||
| File | What | When to read |
|
||||
| ---- | ---- | ------------ |
|
||||
| `README.md` | Feature overview and API integration | Understanding subscription flow |
|
||||
| `index.ts` | Feature barrel export | Importing subscription components |
|
||||
|
||||
## Subdirectories
|
||||
|
||||
@@ -19,15 +18,3 @@ Subscription and billing management feature with Stripe integration.
|
||||
| `pages/` | Desktop subscription page | Desktop implementation |
|
||||
| `mobile/` | Mobile subscription screen | Mobile implementation |
|
||||
| `constants/` | Subscription plan configurations | Plan pricing and features |
|
||||
|
||||
## Key Patterns
|
||||
|
||||
- Desktop: MUI components with sx props
|
||||
- Mobile: Tailwind classes with GlassCard
|
||||
- Stripe Elements for payment methods
|
||||
- React Query for data fetching
|
||||
- Toast notifications for user feedback
|
||||
|
||||
## Environment Variables
|
||||
|
||||
- `VITE_STRIPE_PUBLISHABLE_KEY` - Required for Stripe Elements initialization
|
||||
|
||||
Reference in New Issue
Block a user