Clone repository
Prepare local certificate authorithy
Setup via mkcert:
bash
mkcert -install
Then generate your personal local certificates for cardbox:
bash
yarn prepare:certs
Setup local env for development
Copy from .env.sample file and make sure the default settings are correct
```properties
RAZZLE_SESSION_TOKEN=XXXXXX CLIENT_PUBLIC_PATH=https://localhost:9101/ PORT=9100 BACKEND_URL=https://cardbox.sova.dev/api/internal ```
Install and run:
bash
yarn install
yarn start
yarn api # update api by codegen
yarn lint # lint project with fix
Sometime you should manually restart server for new changes
# Just type and press ENTER:
rs
import {} from "effector-root" instead of "effector". All units should be created in the root domain.import { debug } from "patronum" for debug effector unitsProject designed by FeatureSliced
WIP: Project is migrating from FSv1 to FSv2
src/app/application.tsx — Application component, that have global styles and effector providersrc/app/server.tsx — Express server, that renders React to streamsrc/app/client.tsx — Browser side entry point, that hydrates stores and react appsrc/index.tsx — Node.js entry point, that have hot module replacement and imports serversrc/pages/index.tsx — Pages componentsrc/pages/routes.ts — Static routes configsrc/pages/:page-name/index.tsx — View for single specific pagesrc/pages/:page-name/model.ts — Business-logic for specific page, that contains single level logic layerWIP: soon will be placed at
src/shared
src/lib — Internal librariessrc/ui — Internal UIKitsrc/lib/effector — START event name to use as page property$ claude mcp add frontend \
-- python -m otcore.mcp_server <graph>