How tabbiotech05-beep/biotech works
BioXtenshi is a dual-team medical field-management system with a separate wholesaler sales dashboard. The primary workflow is user sign-in, dashboard selection, and calendar-based visit planning and tracking; supervisors also oversee team activity. The graph includes major documented capabilities and backend route/model areas. Some UI and route implementations were not sampled, so those links rely on explicit README statements or the source index; unsampled details are not inferred.
Main entry points: DashboardPage.jsx Dashboard workspace · index.js Express API server · src/App.jsx Application routing · src/App.jsx Wholesaler sales dashboard
Components 26
Field application
- Application routing
src/App.jsx - Sign-in
src/LoginPage.jsx - Dashboard selection
src/DashboardSelection.jsx - Dashboard workspace
src/DashboardPage.jsx
Visit operations
- Calendar and visits
src/components/CalendarView.jsx - Visit handling
server/routes/visits.js - Contact directory
src/components/RepertoireView.jsx - Historical and live search
server/routes/magic-search.js - Congress planning
src/components/CongressView.jsx - Samples and stock
src/components/PharmacienneView.jsx - Sample history
src/components/SampleHistoryView.jsx
Team management
- Users and roles
server/models/User.js - Authentication API
server/routes/auth.js - JWT authorization
server/middleware/auth.js - Leave and expenses
src/components/LeaveView.jsx - AI reports and chat
server/routes/ai.js
API and persistence
- Visit records
server/models/Visit.js - Congress records
server/models/Congress.js - Express API server
server/index.js - MongoDB
Sales dashboard
- Wholesaler sales dashboard
sales-dashboard/src/App.jsx - Order and stock views
sales-dashboard/src/StockCommandeView.jsx - Commercial advantages
sales-dashboard/src/AvantageCommerciauxView.jsx - Order tracking
sales-dashboard/src/SuiviCommandesView.jsx
Other components
- Field user / supervisor
- Google Gemini
Connections 29
- Field user / supervisor → Application routing: opens
src/App.jsx - Application routing → Sign-in: routes to
src/App.jsx - Application routing → Dashboard selection: routes to
src/App.jsx - Application routing → Dashboard workspace: routes to
src/App.jsx - Field user / supervisor → Sign-in: signs in
README.md - Field user / supervisor → Dashboard selection: chooses team
README.md - Dashboard workspace → Calendar and visits: renders
src/DashboardPage.jsx - Calendar and visits → Visit handling: manages visits
- Visit handling → Visit records: reads and writes
server/routes/visits.js - Contact directory → Visit handling: fetches visits
src/components/RepertoireView.jsx - Historical and live search → Visit records: searches visits
server/routes/magic-search.js - Express API server → Visit handling: mounts route
server/index.js - Express API server → Authentication API: mounts route
server/index.js - Express API server → Historical and live search: mounts route
server/index.js - Express API server → AI reports and chat: mounts route
server/index.js - Express API server → MongoDB: connects
server/index.js - Authentication API → Users and roles: manages users
server/routes/auth.js - JWT authorization → Users and roles: loads user
server/middleware/auth.js - Authentication API → JWT authorization: protects routes
server/routes/auth.js - Dashboard workspace → Congress planning: renders
src/DashboardPage.jsx - Congress planning → Congress records: manages records
- Dashboard workspace → Samples and stock: renders
src/DashboardPage.jsx - Dashboard workspace → Sample history: renders
src/DashboardPage.jsx - Dashboard workspace → Leave and expenses: renders
src/DashboardPage.jsx - AI reports and chat → Google Gemini: queries
server/routes/ai.js - Dashboard workspace → Wholesaler sales dashboard: links to
src/DashboardPage.jsx - Wholesaler sales dashboard → Order and stock views: renders
sales-dashboard/src/App.jsx - Wholesaler sales dashboard → Commercial advantages: renders
sales-dashboard/src/App.jsx - Wholesaler sales dashboard → Order tracking: renders
sales-dashboard/src/App.jsx