How svw8c64y7r-dotcom/eponew works
Epotech is a cybersecurity and web-engineering services portal. Users browse offerings, register or sign in, submit engagement requests, and use the client portal for scans and audit results; administrators manage requests and audit targets. The React app routes these workflows through shared client API helpers to FastAPI, which performs reconnaissance and returns reports. Requests and audits can use Supabase, with client-side fallback behavior documented in the sampled API helper. Backend details are based on partial excerpts; unsampled UI and persistence wiring is shown only where the README or imports support it.
Main entry points: main.py FastAPI routes · apiClient.js Request and audit client · App.jsx Route controller · supabase.js Supabase browser client
Components 19
Portal experience
- Route controller
src/App.jsx - Home page
src/pages/HomePage.jsx - Service catalog
src/pages/ServicesPage.jsx - Sign-in and registration
src/pages/AuthPage.jsx - Client dashboard
src/pages/DashboardPage.jsx - Admin dashboard
src/pages/AdminDashboard.jsx
Engagement management
- Request form
src/components/RequestModal.jsx - Request administration
src/components/AdminRequestsTable.jsx - Request and audit client
src/lib/apiClient.js
Security scanning
- Audit API helper
src/lib/api.js - Comprehensive scanner UI
src/components/ComprehensiveScanner.jsx - Audit report viewer
src/components/AuditReportViewer.jsx - FastAPI routes
api/main.py - TCP port probing
api/main.py - Web and TLS checks
api/main.py
Data and identity
- Supabase browser client
src/lib/supabase.js - Supabase Postgres
supabase_schema.sql - Supabase Auth
Other components
- Client or admin
Connections 26
- Client or admin → Route controller: opens portal
- Route controller → Home page: routes
- Route controller → Service catalog: routes
- Route controller → Sign-in and registration: routes
- Route controller → Client dashboard: routes
- Route controller → Admin dashboard: routes
- Service catalog → Request form: opens request
- Client dashboard → Comprehensive scanner UI: presents scanner
- Admin dashboard → Request administration: presents requests
- Request form → Request and audit client: creates request
- Request administration → Request and audit client: loads and creates
- Request administration → Audit API helper: starts audit
- Request and audit client → FastAPI routes: calls request and audit APIs
- Request and audit client → Supabase browser client: fallback reads and writes
- Request and audit client → Audit report viewer: supplies audit data
- Comprehensive scanner UI → Request and audit client: requests scan
- Request and audit client → FastAPI routes: calls comprehensive scan
- Audit API helper → FastAPI routes: submits audit
- FastAPI routes → TCP port probing: dispatches probes
- FastAPI routes → Web and TLS checks: dispatches checks
- TCP port probing → FastAPI routes: returns port results
- Web and TLS checks → FastAPI routes: returns web and TLS results
- FastAPI routes → Supabase browser client: uses configured client
- Sign-in and registration → Supabase browser client: authenticates
- Supabase browser client → Supabase Auth: signs in and registers
- Supabase browser client → Supabase Postgres: reads and writes records