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

1.1.1 • 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 (without trailing slash) and the API key:

# app.production.json

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

/@universis/escn/

    Package Sidebar

    Install

    npm i @universis/escn

    Weekly Downloads

    5

    Version

    1.1.1

    License

    LGPL-3.0-or-later

    Unpacked Size

    152 kB

    Total Files

    66

    Last publish

    Collaborators

    • universis