How barodillah/atekatehnik works
This is Ateka Tehnik’s public manufacturing website and its PHP-backed administration application. Visitors browse product, portfolio and educational content, then contact sales through WhatsApp or inquiries; administrators manage content, leads, analytics and quotations, with a separate salary-management area. The sampled code confirms routing, authentication, WhatsApp rotation, quotation access and salary synchronization. Several API relationships and unsampled feature internals are therefore left unconnected rather than inferred.
Main entry points: App.jsx Application routes · api PHP API endpoints · LanguageContext.jsx Language context · ChatbotWidget.jsx Chatbot
Components 27
Public website
- Application routes
src/App.jsx - Product catalog
src/pages/Products.jsx - Product details
src/pages/ProductDetail.jsx - Articles
src/pages/Post.jsx - Public content
src/pages - Language context
src/context/LanguageContext.jsx - Translations
src/i18n/translations.js
Visitor engagement
- Chatbot
src/components/ChatbotWidget.jsx - WhatsApp rotation
src/utils/whatsappRotator.js - Click tracking
src/utils/trackWaClick.js
Administration
- Admin dashboard
src/components/dashboard/DashboardLayout.jsx - Authentication
src/hooks/useAuth.jsx - Lead management
src/pages/dashboard/Leads.jsx - Post editor
src/pages/dashboard/PostForm.jsx - Gallery management
src/pages/dashboard/AdminGallery.jsx - Analytics
src/pages/dashboard/Analytics.jsx - Campaign analytics
src/pages/dashboard/CampaignAnalytics.jsx
Business operations
- Quotation builder
src/pages/dashboard/rab/RabBuilder.jsx - Quotation preview
src/pages/dashboard/rab/RabDocumentPreview.jsx - Salary management
src/pages/dashboard/salary - Salary storage
src/services/salaryStorage.js - Salary API client
src/services/salaryApi.js
PHP services
- PHP API endpoints
public/api - AI intent router
public/api/ai_router.php - Database connection
public/api/db.php - Mail library
public/api/PHPMailer/PHPMailer.php
Other components
- Visitor
Connections 24
- Visitor → Application routes: browses
- Application routes → Product catalog: routes to
src/App.jsx - Application routes → Product details: routes to
src/App.jsx - Application routes → Admin dashboard: routes to
src/App.jsx - Application routes → Chatbot: renders
src/App.jsx - Application routes → Language context: provides context
src/App.jsx - Language context → Translations: reads
src/context/LanguageContext.jsx - Application routes → WhatsApp rotation: initializes
src/App.jsx - WhatsApp rotation → Click tracking: records clicks
src/utils/whatsappRotator.js - Admin dashboard → Authentication: uses
src/components/dashboard/DashboardLayout.jsx - Application routes → Lead management: routes to
src/App.jsx - Application routes → Post editor: routes to
src/App.jsx - Application routes → Gallery management: routes to
src/App.jsx - Application routes → Analytics: routes to
src/App.jsx - Application routes → Campaign analytics: routes to
src/App.jsx - Application routes → Quotation builder: routes to
src/App.jsx - Application routes → Quotation preview: routes to
src/App.jsx - Quotation preview → PHP API endpoints: requests quotations
src/pages/dashboard/rab/RabDocumentPreview.jsx - Salary storage → Salary API client: synchronizes through
src/services/salaryStorage.js - Salary management → Salary storage: uses
- Chatbot → AI intent router: requests routing
- AI intent router → Database connection: loads connection
public/api/ai_router.php - PHP API endpoints → Database connection: uses
public/api/ai_router.php - PHP API endpoints → Mail library: may send mail
public/api/PHPMailer/Exception.php