commit 367bbca6886f7f6a4fdd678614ae5a8589a70ceb Author: Randy.Fischer Date: Wed Apr 15 15:24:55 2026 +0200 Initial repo scaffold on develop Baseline: .gitignore, README, empty _docs/. App code follows in a feature branch. Co-Authored-By: Claude Opus 4.6 (1M context) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17680ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +.DS_Store +Thumbs.db +*.bak +*.swp +*.log + +# Editors +.vscode/ +.idea/ +*.code-workspace + +# OS junk +desktop.ini + +# Node (just in case) +node_modules/ +npm-debug.log* + +# Local dev +.env +.env.local diff --git a/README.md b/README.md new file mode 100644 index 0000000..c405582 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# Duimstok-inspecties Bovenbouw + +ProRail duimstok-inspecties voor wissels, overwegen en spoor. MVP / PWA — +vanilla HTML, CSS, JS, IndexedDB, service worker. + +## Project-structuur + +``` +01_Applicatie/ +├── public/ frontend assets (open public/index.html direct) +│ ├── index.html +│ ├── manifest.webmanifest +│ ├── sw.js service worker +│ ├── icons/ +│ ├── css/ +│ └── js/ +├── src/ applicatielogica (DDD-lagen) +│ ├── Domain/ +│ ├── Application/ +│ └── Infrastructure/ +└── _docs/ projectdocumentatie +``` + +## Uitvoeren + +**Snel testen (geen PWA-functionaliteit):** +Dubbelklik `public/index.html`. Werkt vanaf `file://`. + +**Volledige PWA (service worker + installatie):** +Start een webserver vanuit `01_Applicatie/` en open de app via `http://localhost:/public/`: + +```bash +python -m http.server 8000 +# open http://localhost:8000/public/ +``` + +Service worker, installatieknop en offline-caching werken alleen vanaf +`http(s)://` of `localhost` — niet vanaf `file://`. + +## Branches + +- `master` — live productie (auto-deploy bij merge) +- `develop` — staging (auto-deploy bij merge) +- feature branches — nieuwe functionaliteit, merge via PR in `develop` + +Zie `_docs/` voor verdere projectdocumentatie. diff --git a/_docs/.gitkeep b/_docs/.gitkeep new file mode 100644 index 0000000..e69de29