I’m working on some code that I want to use in both my aurelia UI project as well as on the server in node.js
The functionality I’m building is a form builder that accepts json as the form definition. I need the code to run on the server to ensure that the form is valid (aurelia-valiation). I’m trying to build out the form builder so that validation can occur completely without the UI. I do rely on Aurelia for dependency injection as well as the event aggregator. Are there any Aurelia libraries that simply won’t work on running as a node project, I’m not doing server side rendering.
I’m assuming doing this as a plugin is the best way.
I’m looking for any tips or suggestions on the best way to achieve something like this. Node is new to me, but on the node end I basically will only be calling one method passing in the json and returning some sort of object that lists out validation results.