HtmlJar is an html engine and static site generator while also having several backend features that make it easy for developers to create applications
Htmljar is an html builder using the template engine edge from Adonis, we try to implement the template engine from the backend to the frontend, this template engine is very similar to the blade of Laravel.
Curator has also used Laravelmix for its bundler assets and already, includes bootstrap version 4 and other supporting components
No | CODE | Type | Function | Example |
---|---|---|---|---|
1 | APP_NAME | String | Set global applicaton name | Curator |
2 | APP_MODE | String | Set Application mode | development , deploy |
3 | HOST | String | Set Application dev server host | 0.0.0.0 |
4 | PORT | Integer | Set Application dev server port | 9090 , 8080 , 80 |
5 | COMPILE_DIR | String | Set Compile edge file directory | resources/views |
6 | PUBLIC_DIR | String | Set Compiles html file directory | 9090 , 8080 , 80 |
7 | COMPILE | Boolean | Set compile mode | true , false |
8 | ROUTER | String | Set Router Type | manual (you need define route in router file) , auto |
9 | PRETIFY_HTML | Boolean | Pretifying Html file after compile | true , false |
10 | AUTOLOAD | Boolean | Set autolaod for dev server | true , false |
Route file in app/route.json
you can define your file and route name at this
but you need set router in .env file to manual
This have function for disabling compile and acces directory at compile process
You can set in app/protector.json
Data file in app/data you need to define your json file in register.json for access data in your webpage (example was includes)
Before use api you need to register route api in app/api.json
after that in app/api/* you can create new api file (ex : user.json)
(example was includes )
This have function to replace string in file in compile process
You can set on app/helpers/helpers.json
Parameter :
This Have function to manualy creatiing global function and you can access this on odge file
You can set helper function in app/helpers/helpers.js