@metahkg/server
TypeScript icon, indicating that this package has built-in type declarations

6.4.1 • Public • Published

Metahkg server

This is the Metahkg backend api. See the metahkg repository.

stable (master): metahkg.org

dev build (dev): dev.metahkg.org

Nodejs Typescript

Gitlab Github License

DeepSource DeepSource Codacy Badge

Deploying

Docker

Docs

OpenApi specification

For archives, see openapi spec.

Api docs

See api in metahkg docs.

Use as module

Install

yarn add @metahkg/server

Usage

import MetahkgServer from "@metahkg/server";

(async () => {
    await client.connect();
    await setup();

    const app = await MetahkgServer();

    /**
     * The port can be modified in .env
     */
    await app.listen(3000, "0.0.0.0", (err: Error) => {
        if (err) console.log(err);
        console.log(`listening at port ${process.env.port || 3200}`);
    });
})();

Readme

Keywords

Package Sidebar

Install

npm i @metahkg/server

Homepage

metahkg.org

Weekly Downloads

5

Version

6.4.1

License

AGPL-3.0-or-later

Unpacked Size

674 kB

Total Files

461

Last publish

Collaborators

  • wc-yat