Skip to content

About

frontend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Haven Helper Frontend

This repository contains the Anchor frontend app in anchor/. It is a React + TypeScript + Vite application.

Quick start

cd anchor
npm install
npm run dev

Configuration

Create anchor/.env (or update the existing file) with the following variables:

VITE_API_BASE_URL=...
VITE_BACKEND_URL=http://localhost:8000
VITE_SUPABASE_URL=...
VITE_SUPABASE_ANON_KEY=...

Notes:

  • If Supabase credentials are not provided, the app falls back to mock data in the client API layer.
  • VITE_BACKEND_URL defaults to http://localhost:8000 when unset.

Scripts

Run these from anchor/:

npm run dev
npm run build
npm run preview
npm run lint

About

frontend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages