Closed sarnakov closed 4 years ago
This gives us just loader but it is not good for application architectire, what we really need: interfaces (sets of methods) with metadata and versions. This starter kit will not support interfaces and versions inside api
. Now I am porting everything to metarhia technology stack and will merge with it's libraries and functionality: https://github.com/metarhia/impress/pull/1199
After that I'll prepare metarhia/StarterKit it will contain application example and impress will support multiple interfaces with versions and metadata.
Condition if (place !== 'static' && !file.isDirectory()) helps to load folders inside api, but prevent recursively loading scripts from static folder.