Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 658 Bytes

File metadata and controls

45 lines (28 loc) · 658 Bytes

API Integration Client

Frontend client built with React, TypeScript, Vite, Tailwind, and uPlot.

Prerequisites

  • Node.js 20+
  • Yarn (or npm/pnpm)

Setup

  1. Install dependencies:
yarn
  1. Create your local env and production env file (use the example values as a guide):
.env.development
.env.production
  1. Update .env.development with your API endpoints:
VITE_API_URL_LOCAL=http://localhost:...
  1. Start dev server:
yarn dev

Production env

For production builds, set your deployed API URL based on example.env.production:

VITE_API_URL="https://your-deployed-backend-URL"