An IndexedDB example.
Follow these instructions to build and run the demo.
- Run a local web server:
-
python3 -m http.server --directory src/
-
- Open the browser
- Open the browser and navigate to http://localhost:8000
- You will see a message that an IndexedDB database was created
- Refresh the browser
- Read the message on the screen.
- Refresh a few more times and see that more data has been accumulating in the database.
General clean-ups, TODOs and things I wish to implement for this project:
- Stylize the persisted IndexedDB data in a table