How faizalfc/boliae works
BoliAE is a small React catalog dashboard with demo authentication. The user signs in through the login page; the auth context checks the mock API and persists the session in browser storage. The router protects the dashboard, which loads and filters a mock catalog for display and offers logout. The graph reflects the sampled source; the README gives no further product details, and the API is mock data rather than a shown external backend.
Main entry points: AuthContext.jsx Auth Context · App.jsx Router & App · Dashboard.jsx Catalog Dashboard · Login.jsx Login Page
Components 9
Application Runtime
- React Entry
src/main.jsx - Router & App
src/App.jsx
Authentication
- Login Page
src/pages/Login.jsx - Route Guard
src/components/ProtectedRoute.jsx - Auth Context
src/auth/AuthContext.jsx - Browser Storage
Catalog
- Mock API & Data
src/api.js - Catalog Dashboard
src/pages/Dashboard.jsx
Other components
- User
Connections 13
- React Entry → Router & App: renders
src/main.jsx - Router & App → Auth Context: provides auth
src/App.jsx - Router & App → Login Page: routes to
src/App.jsx - Router & App → Route Guard: protects route
src/App.jsx - Router & App → Catalog Dashboard: routes to
src/App.jsx - User → Login Page: submits credentials
src/pages/Login.jsx - Login Page → Auth Context: calls login
src/pages/Login.jsx - Auth Context → Mock API & Data: checks credentials
src/auth/AuthContext.jsx - Auth Context → Browser Storage: reads and writes
src/auth/AuthContext.jsx - Route Guard → Auth Context: checks session
src/components/ProtectedRoute.jsx - User → Catalog Dashboard: searches and logs out
src/pages/Dashboard.jsx - Catalog Dashboard → Auth Context: reads user, logs out
src/pages/Dashboard.jsx - Catalog Dashboard → Mock API & Data: loads catalog
src/pages/Dashboard.jsx