File size: 8,144 Bytes
0f62534 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
# 8. Source Tree
### 8.1 Existing Project Structure
```
Lin/
βββ .env.hf
βββ .gitattributes
βββ .gitignore
βββ .kilocodemodes
βββ app.py
βββ docker-compose.yml
βββ Dockerfile
βββ nginx.conf
βββ package-lock.json
βββ package.json
βββ README.md
βββ requirements.txt
βββ SETUP_GUIDE.md
βββ simple_timezone_test.py
βββ start_app.py
βββ start_celery.py
βββ start-dev.js
βββ starty.py
βββ test_apscheduler.py
βββ test_imports.py
βββ test_scheduler_integration.py
βββ test_scheduler_visibility.py
βββ test_timezone_functionality.py
βββ .qwen/
βββ backend/
β βββ __init__.py
β βββ .env.example
β βββ app.py
β βββ config.py
β βββ Dockerfile
β βββ README.md
β βββ requirements.txt
β βββ test_database_connection.py
β βββ test_oauth_callback.py
β βββ test_oauth_flow.py
β βββ TESTING_GUIDE.md
β βββ api/
β β βββ __init__.py
β β βββ accounts.py
β β βββ auth.py
β β βββ posts.py
β β βββ schedules.py
β β βββ sources.py
β βββ models/
β β βββ __init__.py
β β βββ schedule.py
β β βββ user.py
β βββ scheduler/
β β βββ __init__.py
β β βββ apscheduler_service.py
β βββ services/
β β βββ __init__.py
β β βββ auth_service.py
β β βββ content_service.py
β β βββ linkedin_service.py
β β βββ schedule_service.py
β βββ tests/
β β βββ test_frontend_integration.py
β β βββ test_scheduler_image_integration.py
β βββ utils/
β β βββ __init__.py
β β βββ cookies.py
β β βββ database.py
β β βββ image_utils.py
β β βββ timezone_utils.py
β βββ .gitignore
βββ docu_code/
β βββ My_data_base_schema_.txt
β βββ supabase.txt
βββ fav/
β βββ Capture d'Γ©cran 2025-08-16 223532.png
βββ frontend/
β βββ .env.development
β βββ .env.example
β βββ .env.production
β βββ .eslintrc.cjs
β βββ DESIGN_SYSTEM.md
β βββ Dockerfile
β βββ index.html
β βββ package-lock.json
β βββ package.json
β βββ postcss.config.js
β βββ README.md
β βββ RESPONSIVE_DESIGN_VALIDATION.md
β βββ tailwind.config.js
β βββ test-auth-fix.js
β βββ tsconfig.json
β βββ tsconfig.node.json
β βββ vite.config.js
β βββ public/
β β βββ favicon.ico
β β βββ favicon.png
β β βββ index.html
β β βββ manifest.json
β βββ scripts/
β β βββ build-env.js
β βββ src/
β β βββ App.css
β β βββ App.jsx
β β βββ index.css
β β βββ index.jsx
β β βββ layout-test.js
β β βββ responsive-design-test.js
β β βββ responsive.css
β β βββ components/
β β β βββ FeatureCard.jsx
β β β βββ TestimonialCard.jsx
β β β βββ Header/
β β β β βββ Header.css
β β β β βββ Header.jsx
β β β βββ LinkedInAccount/
β β β β βββ LinkedInAccountCard.jsx
β β β β βββ LinkedInAccountsManager.jsx
β β β β βββ LinkedInCallbackHandler.jsx
β β β βββ Sidebar/
β β β βββ Sidebar.jsx
β β βββ css/
β β β βββ base.css
β β β βββ components.css.bak
β β β βββ main.css
β β β βββ responsive.css
β β β βββ typography.css
β β β βββ variables.css
β β β βββ components/
β β β βββ buttons.css
β β β β βββ cards.css
β β β β βββ forms.css
β β β β βββ grid.css
β β β β βββ header.css
β β β β βββ linkedin.css
β β β β βββ modal.css
β β β β βββ navigation.css
β β β β βββ sidebar.css
β β β β βββ table.css
β β β β βββ utilities.css
β β β βββ responsive/
β β β βββ accessibility.css
β β β βββ base.css
β β β βββ mobile-nav.css
β β β βββ performance.css
β β β βββ performance/
β β β βββ lazy-loading.css
β β β βββ mobile-optimization.css
β β βββ debug/
β β β βββ testApi.js
β β β βββ testApiIntegration.js
β β βββ pages/
β β β βββ Accounts.jsx
β β β βββ Dashboard.jsx
β β β βββ ForgotPassword.jsx
β β β βββ Home.jsx
β β β βββ Login.jsx
β β β βββ Posts.jsx
β β β βββ Register.jsx
β β β βββ ResetPassword.jsx
β β β βββ Schedule.jsx
β β β βββ Sources.jsx
β β βββ services/
β β β βββ accountService.js
β β β βββ api.js
β β β βββ apiClient.js
β β β βββ authService.js
β β β βββ cacheService.js
β β β βββ cookieService.js
β β β βββ linkedinAuthService.js
β β β βββ postService.js
β β β βββ scheduleService.js
β β β βββ securityService.js
β β β βββ sourceService.js
β β β βββ supabaseClient.js
β β βββ store/
β β β βββ index.js
β β β βββ reducers/
β β β βββ accountsSlice.js
β β β βββ authSlice.js
β β β βββ linkedinAccountsSlice.js
β β β βββ postsSlice.js
β β β βββ schedulesSlice.js
β β β βββ sourcesSlice.js
β β βββ utils/
β β βββ timezoneUtils.js
β βββ .gitignore
βββ Linkedin_poster_dev/
β βββ .gitattributes
β βββ ai_agent.py
β βββ app.py
β βββ README.md
β βββ requirements.txt
βββ docs/
βββ architecture.md
```
### 8.2 New File Organization
```
Lin/
βββ frontend/
β βββ src/
β βββ components/
β β βββ KeywordAnalysis/ # New keyword analysis components
β β βββ KeywordAnalysisPanel.jsx
β β βββ index.js
β βββ services/
β βββ keywordAnalysisService.js
βββ backend/
β βββ services/
β β βββ keyword_analysis_service.py # New service
β β βββ content_service.py # Updated with FLUX.1-dev
β βββ api/
β βββ posts.py # Extended with new endpoints
βββ Linkedin_poster_dev/
βββ ai_agent.py # Updated with FLUX.1-dev
```
### 8.3 Integration Guidelines
- **File Naming:** Follow existing snake_case for Python and camelCase for JavaScript
- **Folder Organization:** Place new components in appropriate existing directories
- **Import/Export Patterns:** Maintain existing patterns in the codebase
|