New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dokploy.js

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dokploy.js

This SDK provides an easy-to-use interface for managing applications, authentication, databases, and more on your Dokploy platform.

latest
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

dokploy.js

This SDK provides an easy-to-use interface for managing applications, authentication, databases, and more on your Dokploy platform.

Up to date with Dokploy v0.8.2.

Installation

To install dokploy.js, run:

bun install dokploy.js

Usage

To use:

import Dokploy from 'dokploy.js'

const baseUrl = "http://dokploy-url.com/api"
const apiToken = "apiTokenHere-blahblahblah"
const dokploy = new Dokploy(baseUrl, apiToken)

    try {
        const response = await dokploy.user.all()
        console.log(response)
        const db = await dokploy.mongo.create(
            "my-mongo-db",
            "my-mongo-app",
            "mongo:6",
            "hKJ9MANs8hQ2ie40YVjL1",
            "my description here",
            "admin",
            "passw0rd!"
        )
        console.log("db created, ", db)
    } catch (error) {
        console.error('Error:', error.message)
    }

Contributing

Contributing efforts can be made in the GitHub repository, found here.

License

Licensed under the MIT License.

Keywords

dokploy

FAQs

Package last updated on 19 Sep 2024

Did you know?

Socket

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