Quick Start¶
Verified status as of March 28, 2026. Runtime note: FastFN auto-installs function-local dependencies from
requirements.txt/package.json; host runtimes are required infastfn dev --native, whilefastfn devdepends on a running Docker daemon.
Quick View¶
- Complexity: Beginner
- Typical time: 10-15 minutes
- Scope: create one function, run locally, call it, and confirm OpenAPI visibility
- Expected outcome: a working
GET /helloendpoint and docs at/docs
Prerequisites¶
- FastFN CLI installed and available in
PATH - One execution mode ready:
- Portable mode: Docker daemon running
- Native mode:
openrestyand runtime binaries available
1. Create your first function (neutral path)¶
Choose one runtime implementation inside functions/hello/:
File: functions/hello/handler.js
File: functions/hello/handler.py
File: functions/hello/handler.rs
2. Start the local server¶
3. Validate with curl (per runtime)¶
Expected response shape:
4. Verify generated API docs¶
- Swagger UI: http://127.0.0.1:8080/docs
- OpenAPI JSON: http://127.0.0.1:8080/openapi.json
Expected output:

Validation checklist¶
GET /helloreturns HTTP200/openapi.jsoncontains/hello/docsloads and shows the route
Troubleshooting¶
- Runtime down or
503: check/_fn/healthand missing host dependencies - Route missing: confirm folder layout and rerun discovery (
/_fn/reload) /docsempty: verify docs/OpenAPI toggles were not disabled
Next links¶
Last reviewed:
March 28, 2026
·
Docs on fastfn.dev