It's common to include a data file in your app and then have the app load that data into the database the first time it runs. The app can then use and extend that initial dataset.

This example demonstrates how to load a data file that contains XML data from the app's package, parse it, and store the data in IndexedDB tables. You can use similar techniques to store JSON-formatted data files or data retrieved from the web via XMLHttpRequest.