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) <noreply@anthropic.com>
This commit is contained in:
commit
367bbca688
|
|
@ -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
|
||||||
|
|
@ -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:<poort>/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.
|
||||||
Loading…
Reference in New Issue