Skip to main content
Develop complete, testable functions locally and deploy them to see real results. This guide walks you through building functions you can actually test with live URLs.

🌐 Live Testing

Deploy functions and test them with real URLs on your hub

πŸ”„ Data Transformation

See your functions transform data in real-time

πŸ“ Complete Examples

Full function structures with all necessary files

πŸš€ Deploy & Test

From local development to live URL in minutes

Quick Start: Your First Testable Function

Let’s build a complete function that you can test with a real URL after deployment.
1

Set up your project

2

Create your function files

3

Test locally

Create a test file to verify your function works:
test.ts
Run the test:
4

Deploy and test live

  1. Upload to Ollie Hub: Zip your function folder and upload it via the web interface
  2. Get your function URL: Copy the URL from your function dashboard
  3. Test with real URLs:
Expected response for Paris:

Advanced Example: User Data Processor

Build a more complex function that processes and transforms user data:

Test the User Processor

test-user-processor.ts

Real-World Data Transformation Examples

Deployment Checklist

1

Local testing passes

βœ… All functions run without errors locally
βœ… Data transformation works as expected
βœ… Error handling catches edge cases
βœ… TypeScript compiles without warnings
2

Function structure is correct

βœ… index.ts exists with exported handler
βœ… package.json includes all dependencies
βœ… Helper files are properly structured
βœ… No sensitive data in source code
3

Upload and configure

βœ… Function uploaded to Ollie Hub
βœ… Environment variables configured
βœ… Function type set correctly (Request/Task/Response)
βœ… Memory and timeout settings appropriate
4

Live testing

βœ… Function URL accessible
βœ… Data transformation works on live data
βœ… Error responses are user-friendly
βœ… Performance is acceptable

Next Steps

Deploy Your Function

Learn how to deploy your functions to Ollie Hub

Environment Variables

Securely manage configuration and API keys

Function Types

Understand Request, Response, and Task functions

Examples Gallery

Explore more real-world function examples
Ready to Build? Start with the Weather API example above - it’s designed to work immediately and show you real data transformation. You’ll have a working function with a testable URL in under 10 minutes!