Local Development
Set up your local development environment for fast iteration. Test functions locally, debug issues, and optimize performance before deployment.
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.
Set up your project
Create your function files
Test locally
Create a test file to verify your function works:
Run the test:
Deploy and test live
- Upload to Ollie Hub: Zip your function folder and upload it via the web interface
- Get your function URL: Copy the URL from your function dashboard
- 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
After deploying, test with these commands:
You can also test in your browser by visiting:
For POST requests, use a tool like Postman or create a simple HTML form:
Real-World Data Transformation Examples
Deployment Checklist
Local testing passes
✅ All functions run without errors locally
✅ Data transformation works as expected
✅ Error handling catches edge cases
✅ TypeScript compiles without warnings
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
Upload and configure
✅ Function uploaded to Ollie Hub
✅ Environment variables configured
✅ Function type set correctly (Request/Task/Response)
✅ Memory and timeout settings appropriate
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!