The Patente App is a slide-based learning interface that loads structured topic files and displays them with:
- Visual slides
- Highlight overlays
- Per-topic navigation
- Segment breakdowns
- Data-validation and pre-processing tools
The public version keeps all logic, so reviewers can fully understand the engineering behind the application.
Patente_Public/
├─ index.html
├─ package.json
├─ package-lock.json
├─ postcss.config.js
├─ tailwind.config.js
├─ vite.config.js
│
├─ public/
│ ├─ images/ # Required UI images (kept)
│ ├─ data/
│ │ └─ README.md # Note: JSON content removed
│ ├─ highlight.png
│ └─ translate.jpg
│
├─ src/
│ ├─ App.jsx # Main React container
│ ├─ main.jsx # Entrypoint
│ ├─ index.css # Tailwind styles
│ │
│ ├─ components/
│ │ ├─ Segment.jsx
│ │ ├─ SlideList.jsx
│ │ ├─ SlideView.jsx
│ │ ├─ TopBar.jsx
│ │ └─ TopicList.jsx
│ │
│ ├─ lib/
│ │ └─ highlight.js
│
├─ tools/ # Developer utilities
│ ├─ audit-normalize.cjs
│ ├─ fill-missing.mjs
│ ├─ make-output.cjs
│ └─ qa-report.cjs
│
└─ android/ (optional) # Capacitor Android scaffolding
└─ app/
└─ src/
git clone https://github.com/Hamedius/Patente_Public.git
cd Patente_Publicnpm installnpm run devApp will run on:
http://localhost:5173/
Vite enables fast hot‑reload.
npm run build
npm run previewOutput is placed in /dist and can be deployed to:
- GitHub Pages
- Netlify
- Vercel
- Any static hosting service
To build and run the app on Android:
npm install
npx cap sync android
npx cap open androidUse Android Studio to build & deploy to a device.
The project includes powerful Node-based utilities:
node tools/audit-normalize.cjsnode tools/fill-missing.mjsnode tools/make-output.cjsnode tools/qa-report.cjs!! These tools operate fully but require JSON data, which is intentionally not included.
The private version of the project contains a large set of structured topic files:
- Official driving-theory topics
- Slide text
- Highlight regions
- Metadata
- Segment structures
However, these materials are copyright restricted, so they are not redistributed.
This public repository preserves:
- Architecture
- Engineering work
- Components
- Logic
- Tooling
…while safely removing protected content.
Hamed Nahvi