Skip to content

Create API Client #10

Description

@orhantugrul

Create API client utilities for dashboard to communicate with backend.

  • Create dashboard/lib/api.ts with base URL and fetch wrapper
  • Create dashboard/lib/api/stats.ts with stats API functions
  • Create dashboard/.env.local.example with API URL
  • Update dashboard/.gitignore to exclude .env.local

Acceptance Criteria

  • API client handles errors properly
  • All stats functions are type-safe
  • Environment variable is configurable

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions