A sample Angular application demonstrating the @moltendb-web/angular library.
It showcases real-world usage of MoltenDB in an Angular project, including CRUD operations on a laptop catalogue and a stress-test / benchmarking page.
Fully offline, no backend required.
All data is persisted in the browser's Origin Private File System (OPFS) — data survives page reloads and even browser crashes, and is only cleared when you explicitly wipe the OPFS storage.
- 📦 npm package — @moltendb-web/angular
- 📖 Library README — packages/angular/README.md
- 🚀 Live demo — moltendb-angular.maximilian-both27.workers.dev/laptops
- ⚡ Try on StackBlitz — stackblitz.com/~/github.com/maximilian27/moltendb-angular
| Route | Description |
|---|---|
/laptops |
Browse, create, update and delete laptop entries stored in MoltenDB |
/stress-test |
Benchmark MoltenDB — single write (1 000 docs) and batch write (25 × 1 000 docs) |
- Node.js ≥ 20
- npm ≥ 10
- Angular ≥ 17
- No backend needed — MoltenDB runs entirely in the browser via OPFS
npm installnpm startOpen your browser at http://localhost:4200/.
npm run buildThe build artifacts are placed in the dist/ directory.
npm testInstall the package:
npm install @moltendb-web/angularThen follow the full integration guide in the library README.