Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 592 Bytes

File metadata and controls

35 lines (24 loc) · 592 Bytes

Frontend

React SPA built with TanStack Router and Zero sync engine.

Setup

  1. Install dependencies:
pnpm install
  1. Create .env with following variables:
# Your backend base url
CLIENT_MY_API_BASE_URL=http://localhost:8000

# Your Zero cache server base url
CLIENT_PUBLIC_SERVER=http://localhost:4848
  1. Start development server:
pnpm dev

Scripts

  • pnpm dev - Starts dev server
  • pnpm build - Builds for production
  • pnpm lint - Runs eslint
  • pnpm format - Format code
  • pnpm fixall - Formats and fixes possible eslint errors.