chore: remove vibe-coding artifacts from tracking, sync notes and obsidian config
- Untrack .claude/launch.json (Claude Code config) - Add .claude/, .mcp.json, CLAUDE.md, and AI-generated CSVs to .gitignore - Add _notes/ vault (architecture, API, tasks, bugs, infra docs) - Add .obsidian/ plugin/vault config (workspace state excluded) - Sync CHANGELOG.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
54
_notes/01 - Architecture/Folder Structure.md
Normal file
54
_notes/01 - Architecture/Folder Structure.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Folder Structure
|
||||
|
||||
## Source Code (`lib/`)
|
||||
|
||||
```
|
||||
lib/
|
||||
├── core/
|
||||
│ ├── analytics/ # Analytics integration
|
||||
│ ├── api/ # API client & interceptors
|
||||
│ ├── auth/ # Authentication logic
|
||||
│ ├── storage/ # Local storage implementations
|
||||
│ ├── utils/ # Utility functions
|
||||
│ ├── constants.dart # App-wide constants
|
||||
│ └── theme_manager.dart # Dark/Light mode state
|
||||
│
|
||||
├── features/
|
||||
│ ├── auth/ # Login, registration, session
|
||||
│ ├── events/ # Event listing, detail, creation
|
||||
│ ├── gamification/ # EP, RP, leaderboard, achievements
|
||||
│ └── reviews/ # Review system
|
||||
│
|
||||
├── screens/
|
||||
│ ├── home_screen.dart
|
||||
│ ├── home_desktop_screen.dart
|
||||
│ ├── login_screen.dart
|
||||
│ ├── desktop_login_screen.dart
|
||||
│ ├── booking_screen.dart
|
||||
│ ├── calendar_screen.dart
|
||||
│ ├── profile_screen.dart
|
||||
│ ├── search_screen.dart
|
||||
│ ├── responsive_layout.dart
|
||||
│ └── ...
|
||||
│
|
||||
├── widgets/ # Reusable UI components
|
||||
└── main.dart # Entry point
|
||||
```
|
||||
|
||||
## Platform Folders
|
||||
| Folder | Purpose |
|
||||
|--------|---------|
|
||||
| `android/` | Android native code |
|
||||
| `ios/` | iOS native code |
|
||||
| `web/` | Web entrypoint |
|
||||
| `macos/` | macOS native |
|
||||
| `windows/` | Windows native |
|
||||
| `linux/` | Linux native |
|
||||
|
||||
## Assets
|
||||
```
|
||||
assets/
|
||||
├── images/
|
||||
├── fonts/
|
||||
└── videos/
|
||||
```
|
||||
66
_notes/01 - Architecture/Overview.md
Normal file
66
_notes/01 - Architecture/Overview.md
Normal file
@@ -0,0 +1,66 @@
|
||||
# Architecture Overview
|
||||
|
||||
## Eventify Ecosystem
|
||||
|
||||
Eventify is a multi-project event management platform with **4 frontends**, a **Django backend**, and **Docker-based infrastructure** on AWS EC2.
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────┐
|
||||
│ Users / Partners │
|
||||
├──────────┬──────────┬───────────┬───────────────────┤
|
||||
│ app.* │ admin.* │ partner.* │ Mobile App │
|
||||
│ React │ React │ Next.js │ Flutter │
|
||||
│ Vite+TS │ Shadcn │ Prisma │ iOS/Android/Web │
|
||||
├──────────┴──────────┴───────────┴───────────────────┤
|
||||
│ Django REST API (Python) │
|
||||
│ uat.eventifyplus.com / prod.eventifyplus.com │
|
||||
├─────────────────────────────────────────────────────┤
|
||||
│ AWS EC2 · Docker · eventify-net │
|
||||
│ Database · Server Monitor │
|
||||
└─────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
## Projects at a Glance
|
||||
|
||||
| Project | Domain | Stack | Local Path |
|
||||
|---------|--------|-------|------------|
|
||||
| Web App | `app.eventifyplus.com` | React 18 + Vite + TS + Tailwind | `mvnew.eventifyplus.com new/` |
|
||||
| Admin | `admin.eventifyplus.com` | React 18 + Vite + Shadcn/UI | `eventify-command-center/` |
|
||||
| Partner | `partner.eventifyplus.com` | Next.js 16 + Prisma + Tailwind | `eventify-partner/` |
|
||||
| Mobile | iOS / Android / Desktop | Flutter + Dart + Provider | `Eventify-frontend/` |
|
||||
| Backend | `uat.eventifyplus.com/api/` | Django 4.2+ (Python) | `eventify_backend/` |
|
||||
| Monitor | `status.eventifyplus.com` | Node.js + Docker | `eventify-server-monitor/` |
|
||||
|
||||
All local projects live under `/Users/bshtechnologies/Documents/`.
|
||||
|
||||
## Backend Modules
|
||||
|
||||
| Module | Purpose |
|
||||
|--------|---------|
|
||||
| `accounts` | Users & auth |
|
||||
| `events` | Event CRUD, types, images |
|
||||
| `bookings` | Reservations |
|
||||
| `reviews` | User reviews |
|
||||
| `ledger` | Financial ledger |
|
||||
| `banking_operations` | Payments |
|
||||
| `gamification` | EP, RP, achievements, leaderboard |
|
||||
| `eventify_logger` | Logging |
|
||||
|
||||
## Flutter App Architecture (Mobile)
|
||||
|
||||
Feature-first modular structure:
|
||||
```
|
||||
lib/
|
||||
├── core/ # API, auth, storage, utils, constants, theme
|
||||
├── features/ # auth, events, gamification, reviews
|
||||
├── screens/ # Mobile + desktop screen variants
|
||||
└── widgets/ # Reusable UI components
|
||||
```
|
||||
|
||||
State Management: Provider (`^6.1.2`) — see [[State Management]]
|
||||
|
||||
## Detailed Notes
|
||||
|
||||
- **Per-project details:** [[09 - Projects/App - Web Frontend]] · [[09 - Projects/Admin - Command Center]] · [[09 - Projects/Partner Portal]] · [[09 - Projects/Mobile - Flutter]] · [[09 - Projects/Backend - Django]]
|
||||
- **Infrastructure:** [[10 - Infrastructure/Server & Docker]] · [[10 - Infrastructure/Server Monitor]]
|
||||
- **Flutter specifics:** [[Folder Structure]] · [[State Management]]
|
||||
22
_notes/01 - Architecture/State Management.md
Normal file
22
_notes/01 - Architecture/State Management.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# State Management
|
||||
|
||||
## Approach
|
||||
Eventify uses **Provider** (`^6.1.2`) for state management.
|
||||
|
||||
## Pattern
|
||||
- `ChangeNotifier` classes hold state
|
||||
- `ChangeNotifierProvider` exposes state to the widget tree
|
||||
- `Consumer<T>` / `context.watch<T>()` rebuilds UI on state change
|
||||
- `context.read<T>()` for one-off reads without subscribing
|
||||
|
||||
## Key Providers
|
||||
> Fill in as you identify providers in `lib/core/` and `lib/features/`
|
||||
|
||||
| Provider | Location | Responsibility |
|
||||
|----------|----------|----------------|
|
||||
| AuthProvider | `lib/core/auth/` | Session, login/logout |
|
||||
| ThemeManager | `lib/core/theme_manager.dart` | Dark/Light mode toggle |
|
||||
|
||||
## Notes
|
||||
- Desktop and mobile screens share the same providers via `responsive_layout.dart`
|
||||
- Local persistence uses `shared_preferences` (not Provider)
|
||||
Reference in New Issue
Block a user