Skip to content

Feature Functions

github-actions[bot] edited this page Apr 26, 2026 · 2 revisions

Feature: Functions

ɳSelf includes a serverless runtime for running custom backend logic close to your data.

What's Included

Capability Description
HTTP triggers Run functions on HTTP requests
Event triggers Respond to Hasura database events
Cron triggers Schedule functions on a cron expression
TypeScript/JavaScript Node.js runtime

How to Enable

nself service enable functions
nself build && nself restart

Or set in .env:

FUNCTIONS_ENABLED=true

Key Configuration Variables

Variable Description Default
FUNCTIONS_ENABLED Enable Functions service false
FUNCTIONS_PORT Internal port 3000

Deploying Functions

Place function files in your project's functions/ directory. ɳSelf mounts this directory into the Functions container automatically.

my-project/
└── functions/
    ├── hello-world.ts
    └── send-email.ts

Functions are available at: https://functions.your-domain.com/v1/{function-name}

Event Triggers

Configure event triggers in the Hasura console or via Hasura migrations to call functions when database rows are inserted, updated, or deleted.

See Also


Home | _Sidebar

Home


Getting Started


Commands


Features


Configuration


Plugins (87 + 10 monitoring)

Free (25)
Pro (62)
Planned (26)
  • plugin-audit
  • plugin-blog
  • plugin-checkout
  • plugin-commerce
  • plugin-drm
  • plugin-export
  • plugin-flow
  • plugin-import
  • plugin-ldap
  • plugin-mailgun
  • plugin-media
  • plugin-oauth-providers
  • plugin-pages
  • plugin-postmark
  • plugin-rate-limit
  • plugin-reports
  • plugin-saml
  • plugin-scheduler
  • plugin-sendgrid
  • plugin-sso
  • plugin-subscription
  • plugin-thumb
  • plugin-transcoder
  • plugin-twilio
  • plugin-waf
  • plugin-watermark

Guides


Architecture


Reference


Licensing


Security


Brand


Operations


Contributing


Admin


Changelog

Clone this wiki locally