raisindb-frontend-react
Installation
SKILL.md
RaisinDB React Router Frontend
Build a content-driven React app that maps RaisinDB archetypes to React components, uses path-based routing, and upgrades from SSR HTTP to real-time WebSocket after hydration.
1. Setup
npx create-react-router@latest my-app && cd my-app && npm install @raisindb/client
Create .env — ask the user for the repository name and server URL:
VITE_RAISIN_URL=ws://localhost:8080/sys/default
VITE_RAISIN_REPOSITORY=ask-the-user
VITE_RAISIN_WORKSPACE=content
The repository is the server-side database name. The workspace is defined in package/workspaces/*.yaml. Default port is 8080.