run freemarker in node, support url route and ajax mock.
support json and ftlData conversion to each other.
for example: <#assign name = "figo" /> <==> {"name":"figo"}.
you can edit mock data in jsoneditor and save in ftl.
Attention:make sure JAVA is installed and JAVA_HOME is in the PATH
mock/config.json
[PORT=8080] grunt
(default 80)
mock/urlmap.json
in mock folder
mock/index.html