Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simonbetton/ratesapi.nz

Free OpenAPI service to retrieve the latest lending rates offered by NZ Institutions
https://github.com/simonbetton/ratesapi.nz

api banking bun cloudflare-workers hono interest-rates

Last synced: 12 days ago
JSON representation

Free OpenAPI service to retrieve the latest lending rates offered by NZ Institutions

Awesome Lists containing this project

README

        




Rates API



https://ratesapi.nz


Rates API is a free OpenAPI service to retrieve the latest lending rates offered by New Zealand financial institutions – updated hourly.




License



Setup
  •  
GitHub
  •  
Documentation



This project uses [Bun](https://bun.sh/), [Hono](https://hono.dev/) and [Cloudlfare Workers](https://workers.cloudflare.com/).

Cloudflare Workers is a JavaScript edge runtime on Cloudflare CDN.

You can develop the application locally and publish it with a few commands using [Wrangler](https://developers.cloudflare.com/workers/wrangler/).
Wrangler includes a transcompiler, so we can write directly in TypeScript.

## Setup

#### 📦 Install dependencies

```zsh
bun i
```

#### 🏗️ Run locally

Run the development server locally. Then, access `http://localhost:8787` in your web browser.

```zsh
bun run dev
```

#### 🚀 Deploy to Cloudflare Workers

```zsh
bun run deploy
```