I would like an all in one solution, single file, that is prod ready, with a key/value datastore. In terms of the projects I have done, there is a significant amount of work to set up actual web server, solely to have access to a backend logic which relies on some database.
So the idea behind this is that I can provision an cloud instance, set up the DNS link, drop the front end assets + configuration json+server file in a directory, and run the file and it should work without any big setup, with a given advantage that I can have
Generally, it should have a key/value store endpoint, which is backed by an in memory cache (set to a certain size) + disk offload, as well as ability to add to the database using JSON files.
Also, in the config json, it can be possible to specify a command to be run (in the spirit of the CGI frameworks), for a given endpoint with provided data.
It would be also nice to have integrated user auth. Im thinking that it auto injects JS code for the index.html page that creates a modal for either logging in or registering a new user, activated when someone clicks on a link, and then there would be a separate folder for "authorized" view pages that I can be viewed with the set cookie from the modal.