Socket
Socket
Sign inDemoInstall

metahkg-server

Package Overview
Dependencies
427
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    metahkg-server

This is the Metahkg backend api. See the [metahkg repository](https://gitlab.com/metahkg/metahkg).


Version published
Weekly downloads
14
decreased by-58.82%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Metahkg server

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

stable (master): metahkg.org

dev build (dev): dev.metahkg.org

React Nodejs Typescript

Gitlab Github License

DeepSource DeepSource Codacy Badge

Deploying

Docker

Docs

Manually

WARNING: This is NOT RECOMMENDED and might be OUTDATED!

For manual deployment, see DEPLOY.md.

OpenApi specification

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}`);
    });
})();

quick start for dev

ensure you have .env in root and have docker installed.

docker-compose -f docker-compose-dev.yml up --build

Keywords

FAQs

Last updated on 01 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc