Skip to content

drlove/basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic PWA Scaffold

A minimal, framework-agnostic Progressive Web App starter.

Features

  • Offline caching (Service Worker)
  • Installable (Web App Manifest)
  • Clean structure for forking

Usage

git clone https://github.com/drlove/basic.git
cd basic

Then run "python3 -m http.server"

And open browser to http://localhost:8000
## Offline-First Storage

This scaffold includes IndexedDB by default using Dexie.js.

### Stores
- `notes`   – primary offline data
- `outbox`  – queued actions for later sync

### Pattern
- App → Store (store.js)
- Store → IndexedDB (db.js)
- Never access IndexedDB directly in UI code

### Forking Checklist
- Rename DB (`basic_pwa_db`)
- Update schema version when adding tables
- Add sync worker when backend exists


About

Basic PWA page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published