Appwrite SDK INIT for Node JS



    Khalid Khan

    Appwrite companion cookbook

    Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page and your new API secret Key project API keys section.

    Shortcut: appwrite.sdk.node.init

    const sdk = require('node-appwrite');
    let client = new sdk.Client();
      .setEndpoint(' api_endpoint') // Your API Endpoint
      .setProject('Project_ID') // Your project ID
      .setKey('apikey') // Your secret API key
      .setSelfSigned() // Use only on dev mode with a self-signed SSL cert
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.