This is a simple test app to demonstrate how to use (and extend) tabula-rasa in a web app.
Install it and bundle it with webpack:
npm i webpack -g
npm i
webpack
Then open index.html in a browser and open the web/js console. When the page loads, you will see 'manifests/foo' output to the screen. This is the local app_url (a derived property) of the Manifest model object extended from tabula-rasa's Manifest model, which does not have an app_url property.
You should also notice in the web console that the app is initialized and it loaded some data via fetch from the IIIF fixtures collection. You can play around with the manifest by typing in the web/js console.
Examples:
app.me.presentations.manifests.models[0].app_url
app.me.presentations.manifests.models[0]['@id']
// values that can be repeated are converted into arrays so you need to do this to get at the label -->
app.me.presentations.manifests.models[0].label[0]['@value']
// you can set values as well
app.me.presentations.manifests.models[0].viewingHint = 'paged'
// then you can save them back to a server if it allows POSTs
app.me.presentations.manifests.models[0].url = 'http://myRESTfulAPI.com/'
app.me.presentations.manifests.models[0].save()