Investment trading learning app
- Switch @bytelyst/* deps from link: to private Gitea registry (^0.x) - Add .npmrc pointing to gitea.bytelyst.com private npm registry - Rewrite backend/Dockerfile: monorepo root context, pnpm workspace, correct EXPOSE 4018, CMD node dist/backend/src/bootstrap.js - Move vercel.json to repo root with pnpm filter build commands - Remove web/Dockerfile and web/nginx.conf (web is Vercel-only) - Remove web service from docker-compose.yml (backend Docker only) - Document GITEA_NPM_TOKEN requirement in .env.example - Fix start script path: dist/backend/src/bootstrap.js (rootDir: "..") PREREQUISITE: Set GITEA_NPM_TOKEN and run pnpm install to regenerate pnpm-lock.yaml before first Docker build. Vercel settings: Root Directory = repo root, add GITEA_NPM_TOKEN env var. Docker build: GITEA_NPM_TOKEN=<token> docker compose build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| docs | ||
| mobile | ||
| scripts | ||
| shared | ||
| web | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| docker-compose.yml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.base.json | ||
| vercel.json | ||
ByteLyst Investment Trading
Canonical monorepo for the ByteLyst trading product.
Workspaces
backend/— trading backend and execution/runtime APIsweb/— trading dashboardmobile/— Expo mobile appshared/— canonical product identity and shared runtime helpers
Shared dependencies
This repo consumes local ByteLyst common-platform packages from:
../learning_ai_common_plat/packages/*
Core principles
- backend-authoritative trading state
- platform-service for auth, kill switch, telemetry, and flags
- no duplicated bootstrap logic across surfaces
- domain-specific trading logic stays product-owned
Common commands
pnpm install
pnpm verify
pnpm lint
pnpm build
Operations
- product and scope:
docs/PRD.md - execution tracker:
docs/ROADMAP.md - local dev, cutover, rollback, and release checks:
docs/OPERATIONS.md