This directory contains the web frontend for the CatColab application, written in TypeScript using the Solid.js framework.
Install Rust and pnpm, then run
cd packages/frontend
pnpm install
pnpm run build
This command compiles the Rust dependencies to WebAssembly and then builds the
frontend bundle.
To develop the frontend locally, run
pnpm run dev --mode $MODE
where $MODE is replaced with one of the following:
staging: uses the staging deployment of CatColab at next.catcolab.org
(recommended for frontend development)development: assumes that the backend is running locally (the
default if --mode is omitted)production: uses the production deployment of CatColab at catcolab.org
(not recommended)