linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
6 stars 6 forks source link

Static files for web server #147

Closed skodapetr closed 3 years ago

skodapetr commented 5 years ago

Generate static HTML a web server and allow them to be served by Web server. The NodeJS then takes care only of the business logic of requests.

Relevant links:

skodapetr commented 3 years ago

This is now possible but only with a single entry point index.html generater. Thus the Web Server need to employ some sort of URL translation.

Improved solution would generate all paths and create files for them. That would require to import client code into server building process to figure out what paths should be used. As a bonus it would be easier to run with the WebServer and we may also provide the right language at the start.

Similar functionality is implemented for https://github.com/linkedpipes/dcat-ap-forms, but that is for fixed set of paths.

Should there be a requirement for such functionality a new issue shall be open.