frontend

CatColab frontend

This directory contains the web frontend for the CatColab application, written in TypeScript using the framework Solid.js.

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:

  • development: assumes that the backend is running locally (the default if --mode is omitted)
  • staging: uses the staging deployment of CatColab at next.catcolab.org (recommended for fronten dev)
  • production: uses the production deployment of CatColab at catcolab.org (not recommended)