@universis/escn
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@universis/escn

Universis API server plugin for managing the European student cards

Usage

Install plugin

npm i @universis/escn

Configure

Register @universis/escn#EscnService in application services:

# app.production.json

"services": [
    ...,
    {
        "serviceType": "@universis/escn#EscnService"
    }
]

Add @universis/escn#EscnSchemaLoader to schema loaders:

# app.production.json

{
    "settings": {
        "schema": {
            "loaders": [
                ...,
                {
                    "loaderType": "@universis/escn#EscnSchemaLoader"
                }
            ]
        }
    }
}

Add escRouter in auth section with the ESC Router API URI and the API key:

# app.production.json

{
    "settings": {
        "auth": {
            ...,
            "escRouter": {
                "api": ""
                "key": ""
            }
        }
    }
}

Package Sidebar

Install

npm i @universis/escn

Weekly Downloads

7

Version

1.1.0

License

LGPL-3.0-or-later

Unpacked Size

145 kB

Total Files

66

Last publish

Collaborators

  • universis