Advanced Developer Guides

Master configuration, performance optimization, and API integrations with Γllycc.

Advanced Configuration

Customize deployment pipelines with YAML override files. Example:

                        overrides.yaml:
  build:
    env:
      NODE_VERSION: "18.x"
    cache:
      paths:
        - node_modules/
        - .npm/
  deploy:
    functions: true
    edge: true
                    

Use environment variables for runtime configuration. Namespacing recommended:

PLUGIN__AWS__REGION=eu-west-1

Performance Optimization

Leverage our edge compiler for real-time performance analysis:

  • • Enable EDGE_ANALYTICS=true in deployment settings
  • • Use the CLI to simulate traffic: gcli bench
  • • Access optimization reports via the Admin API endpoint:
GET /api/v2/deployments/{id}/analysis

API Integration

Authentication

Generate API tokens via your dashboard and set the Bearer header:

                        curl -H "Authorization: Bearer YOUR_TOKEN" 
https://api.glycc.net/v2/account
                    

Webhook Configuration

Define event listeners with signed payloads:

                        
POST /webhooks/endpoint
Headers: 
    X-Webhook-Signature: sha256=$SECRET
Body:
    event: deployment_complete
    payload: { id: "54321", status: "success" }