Overview

ApexxCloud provides powerful cloud storage and media transformation capabilities. This guide will help you get started with:

  • Setting up your SDK
  • Uploading your first file
  • Applying transformations
  • Connecting external storage (optional)

Already have an S3, R2, or Spaces bucket? You can connect your existing bucket to use our transformation and CDN features while keeping your files in your own storage. Learn more about connecting your bucket.

Installation

Choose the SDK that best fits your needs:

If you want sdk support for languages that is not supported yet, please contact us so we can add it. you can also integrate the api directly in your own applications.

Quick Setup

Node.js

const ApexxCloud = require("@apexxcloud/sdk-node");

const storage = new ApexxCloud({
  accessKey: "your-access-key",
  secretKey: "your-secret-key",
  region: "APAC",
  bucket: "default-bucket",
});

Browser

import ApexxCloud from "@apexxcloud/sdk-js";

const storage = new ApexxCloud({
  baseUrl: "https://api.apexxcloud.com",
});

React

import { useApexxCloud } from "@apexxcloud/react";
import { useRef, useState } from "react";

function App() {
  const { upload, uploadMultipart } = useApexxCloud();

  //...
}

The useApexxCloud hook provides:

  • Simple file upload handling
  • Progress tracking
  • Error handling
  • Upload cancellation
  • Multipart upload support

For more advanced usage, including the FileUploader component, check out the React SDK documentation.

External Storage Support

ApexxCloud supports connecting your existing storage buckets:

  • AWS S3
  • Cloudflare R2
  • DigitalOcean Spaces

Learn more about connecting your external bucket.

Example Repository

Check out our example repository for a complete working implementation using our SDKs.

The example repository demonstrates:

  • Basic file uploads
  • Multipart uploads
  • Transformation usage
  • Error handling
  • Progress tracking

Next Steps