I have a variety of psychological tests that I have already designed the front-end for, and they simply need to be hosted somewhere and read/write data from/to a database. In the simplest case, a test could consist of a number of boilerplate HTML files and images, and interaction is handled by a bundle of JavaScript. Is there a way to use Anvil for this use case? It would be nice to use Anvil to host all the HTML and JS in addition to the database, but I could imagine simply using it as a REST API for the database.
Yes, you can http endpoints to create a REST API - all described in the docs at https://anvil.works/docs/http-apis
1 Like