Overview
Server-side code that works as API endpoints
Nhost Functions are server-side JavaScript or TypeScript functions that are a great option for handling things like Event Triggers for async workflows, as well as to integrate with external service providers like Stripe or Slack.
For more sophisticated use-cases and control over the runtime, use Nhost Run.
Hello World
./functions/hello-world.js
Deploying functions is as easy as pushing your code!
Limits
Function execution timeout limits vary by project tier:
- Starter: 10 seconds
- Pro: 180 seconds (3 minutes)
- Teams: 600 seconds (10 minutes)
- Enterprise: Custom timeout values available