Disclaimer / Haftungsausschluss This application is for educational purposes only. It does not constitute medical advice. Always consult licensed healthcare professionals and verify information against the original publication and your local laws before making clinical decisions. Cannabis regulations vary by jurisdiction.
Diese Anwendung dient ausschließlich Bildungszwecken. Sie stellt keine medizinische Beratung dar. Konsultieren Sie stets medizinisches Fachpersonal und überprüfen Sie die Informationen anhand der Originalpublikation und Ihrer lokalen Gesetze.
https://qnbs.github.io/MedCanna-Competencies/
The MedCanna Competencies Guide is an interactive, educational web application designed to help healthcare professionals, students, and researchers master the medical cannabis competencies outlined in the 2025 consensus statement by Zolotov Y et al. published in JAMA Network Open.
Der MedCanna Kompetenzleitfaden ist eine interaktive Webanwendung, die medizinisches Fachpersonal bei der Beherrschung der Kompetenzen für medizinisches Cannabis unterstützt.
| Feature | Description |
|---|---|
| Curriculum Explorer | Navigate through all 6 core competency domains and 26 subcompetencies |
| Clinical Simulator | Longitudinal patient cases (EHR style) for dosing, product selection, monitoring |
| Plant Pharmacology Guide | Cannabinoids, terpenes, flavonoids reference with entourage effect data |
| AI Tutor | Google Gemini-powered assistant grounded in the consensus statement |
| Quiz Mode | Domain-specific MCQs with detailed explanations |
| Multi-Language | Full EN/DE localization |
- Node.js (LTS recommended)
- npm
git clone https://github.com/qnbs/MedCanna-Competencies.git
cd MedCanna-Competencies
npm install
npm run devOpen http://localhost:3000.
npm run build
npm run previewThe AI Tutor requires a Google Gemini API key. For security, keys are never embedded in the build — they are entered at runtime and stored encrypted in your browser's IndexedDB.
- Visit Google AI Studio and create an API key
- (Recommended) Restrict the key to
*.github.ioin the API key settings - Open the app → Settings → Gemini API Key section
- Paste your key and click Save
The key stays in your browser only. Clearing site data removes it.
This repository includes a GitHub Actions workflow that deploys automatically.
- Go to Settings → Pages in your GitHub repository
- Under Build and deployment, select Source: GitHub Actions
- Push to
main— the workflow triggers automatically - Your site is live at
https://<owner>.github.io/MedCanna-Competencies/
Go to Actions → Deploy to GitHub Pages → Run workflow.
| Problem | Solution |
|---|---|
| Blank page after deploy | Check that base in vite.config.ts matches your repo name (/MedCanna-Competencies/) |
| Assets not loading (404) | Ensure GitHub Pages source is set to "GitHub Actions", not "Deploy from branch" |
| AI Tutor says "key missing" | Open Settings and enter your Gemini API key |
| SPA routes return 404 | The public/404.html handles this — ensure it's in the build output |
- React 19 + TypeScript 5.8 + Vite 6
- Recharts (data visualization)
- Lucide React (icons)
- Google Generative AI SDK (
@google/genai) - Tailwind CSS (utility-first styling)
- IndexedDB (secure client-side key storage)
Zolotov Y, Temple LM, Isralowitz R, et al. Developing medical cannabis competencies: a consensus statement. JAMA Netw Open. 2025;8(10):e2535049. doi:10.1001/jamanetworkopen.2025.35049