How gopikrishna7733/pmm works
PMM combines a static browser-based scholar portal with a Streamlit learning workspace. The browser workflow is landing or account access, authentication and route checks, then a protected dashboard backed by service facades and local mock adapters. The Streamlit app separately presents dashboard telemetry, pharmacy disciplines, and interactive quizzes. README documents the browser architecture and capabilities; sampled Python excerpts show the Streamlit views and embedded web app, but not all their internal wiring.
Main entry points: app.py Streamlit Workspace · guard.js Route Guard · login.html Login View · register.html Registration View
Components 18
Browser Portal
- Educational Landing
index.html - Landing Interactions
js/pmm-landing.js - Login View
login.html - Registration View
register.html - Scholar Dashboard
dashboard.html
Auth and Data
- Route Guard
js/utils/guard.js - Input Validation
js/utils/validation.js - Auth Service
js/services/auth-service.js - Mock Auth Adapter
js/services/mock-auth-adapter.js - Data Service
js/services/data-service.js - Mock Data Adapter
js/services/mock-data-adapter.js
Learning Workspace
- Streamlit Workspace
app.py - Scholar Telemetry
app.py - Interactive Quiz
app.py - Pharmacy Disciplines
app.py
Shared UI
- Interactive Components
js/pmm-components.js - JavaScript Entry
js/pmm.js
Other components
- Scholar
Connections 18
- Scholar → Educational Landing: opens
README.md - Scholar → Login View: signs in
README.md - Scholar → Registration View: creates account
README.md - Educational Landing → Landing Interactions: enables interactions
README.md - Login View → Route Guard: checks guest access
README.md - Registration View → Route Guard: checks guest access
README.md - Scholar Dashboard → Route Guard: requires session
README.md - Login View → Input Validation: validates credentials
README.md - Registration View → Input Validation: validates inputs
README.md - Route Guard → Auth Service: checks session
js/utils/guard.js - Auth Service → Mock Auth Adapter: delegates auth
js/services/auth-service.js - Scholar Dashboard → Data Service: loads dashboard data
README.md - Data Service → Mock Data Adapter: delegates data
js/services/data-service.js - Scholar → Streamlit Workspace: opens workspace
README.md - Streamlit Workspace → Scholar Telemetry: presents
app.py - Streamlit Workspace → Interactive Quiz: routes to
app.py - Streamlit Workspace → Pharmacy Disciplines: routes to
app.py - JavaScript Entry → Interactive Components: imports
js/pmm.js