Skip to content

MVP 1: Build frontend and API for latest data #1

Description

@Boxuan-Matty-Lin

Goal

The frontend fetches from /api/rates and displays an AUD → USD/EUR/JPY/GBP/CNY conversion list.

Tasks

  • Create GET /api/rates to proxy OXR latest.json (cache: "no-store").
  • Add .env.dev with:
    - OXR_APP_ID
    - OXR_BASE_URL=https://openexchangerates.org/api
  • Home page: amount input + 5 result rows (AUD → target).
  • Loading/error states and a Refresh rates button.

Acceptance

  • Page fetches data and shows 5 currencies.
  • Changing the amount updates results instantly.
  • On failure, show an error and allow refresh to recover.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions