✨ https://ratesapi.nz ✨
Rates API is a free OpenAPI service to retrieve the latest lending rates offered by New Zealand financial institutions – updated hourly.
Setup • API Endpoints • Monitoring • GitHub • Documentation
This project uses Bun, Hono, Cloudlfare Workers, and Cloudflare D1.
Cloudflare Workers is a JavaScript edge runtime on Cloudflare CDN, while D1 is Cloudflare's serverless SQL database that integrates seamlessly with Workers.
You can develop the application locally and publish it with a few commands using Wrangler. Wrangler includes a transcompiler, so we can write directly in TypeScript.
# Install dependencies
bun i
# Run locally
bun run dev
# Deploy to Cloudflare Workers
bun run deployThis project is licensed under the MIT License - see the LICENSE file for details.