httphandler calls resolveFile given a url path, but it could have different backends like S3, database, etc.
Maybe it should use these backends exclusively, or maybe in combination with a file. For example, for each endpoint there could be a file with the SQL query to execute against the database backend, instead of dynamically writing it or having a huge config file with queries.
httphandler calls resolveFile given a url path, but it could have different backends like S3, database, etc.
Maybe it should use these backends exclusively, or maybe in combination with a file. For example, for each endpoint there could be a file with the SQL query to execute against the database backend, instead of dynamically writing it or having a huge config file with queries.