| # 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 | |