qcobjects-handler-hello-world
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

QCObjects Handler Hello World

Install

npm i qcobjects-handler-hello-world

Setup in your config.json

"backend":{
    "routes":[
        {
            "name":"Hello World!",
            "description":"Hello world Microservice!",
            "path":"^/hello-world",
            "microservice":"qcobjects-handler-hello-world",
            "headers": {
              "content-type": "text/html; charset=utf-8"
            },
            "responseHeaders":{
            },
            "cors":{
              "allow_origins":"*"
            }
        }
    ]
}

# Visit

Visit https://localhost:port/hello-world

Create your own microservice

To make your own microservice, you can generate it with QCObjects CLI using this package as template:

qcobjects create --custom=qcobjects-handler-hello-world myown-handler-microservice

Package Sidebar

Install

npm i qcobjects-handler-hello-world

Weekly Downloads

3

Version

1.0.0

License

LGPL-3.0-or-later

Unpacked Size

36.1 kB

Total Files

48

Last publish

Collaborators

  • jeanmachuca