gbv / validation-server

Web service to validate data with support of multiple schema languages
https://format.gbv.de/validate/
MIT License
2 stars 1 forks source link

Support client side ESM #40

Closed nichtich closed 2 years ago

nichtich commented 2 years ago

The current input form is coded in vanilla JavaScript. More extensions (in particular #5) should better be done with ESM and possibly a client side framework such as Vue (not required for simple interface but when things get more complex). The application is served via express anyway, so the ESM sources could be rewritten with Snowpack instead of serving the source JS files or a compile JS bundle.

nichtich commented 2 years ago

Still less than 100 lines of vanilla-js for input form, so no need so far.