Reasons why i can deliver this to you quickly and effectively -
- Currently i use a working implementation similar to your requirements. The script i have is used to pick up dynamic files based on the API method being called by expressjs.
Using this basic template I will be able to customize it based on your exact requirements.
- Further, having experienced ExpressJS with NodeJS environment, i understand the pitfalls and complexities of your requirements.
What my code will include
- ability to monitor files that you place in the dynamic-scripts folder. (am thinking of a FileWatcher approach)
- handling unhandled errors which the scripts that you place can cause.
- since your script files will probably have async methods, q or similar framework will be used to handle the response.
What questions i will ask you -
- the structure of the scripts that you will be placing. And the functions that this script will need to call. (If you could provide 3 - 4 sample of the script file, this should provide answers to my question)
- whether ability to upload script files is required, or will the script file be copied manually into a folder that is configurable.
Please feel free to contact me if you feel there is anything more that is required