Reference Source

Design - Services feature

Devapt enables features for applications with services.

A service is enabled on a server on a node.

A service is provided and consumed.

Builin services:

Description

A service is a feature linked on a server and added to an application.

Builtin services are:

Examples

Define two routes to serve static files:

    "html_assets_1":{
        "type":"html_assets",
        "routes":[
            {
                "is_global":true,
                "route":"/",
                "directory":"/.../devapt-app-devtools/dist/assets",
                "default":"index.html"
            },

            {
                "route":"/css/.*.css",
                "directory":"./public"
            }
        ]
    }