Refactor project to transition from Rust backend to Node.js with Fastify; update Dockerfile and Docker configurations for new build process; enhance local development instructions in CONTRIBUTING.md; implement health checks in Docker Compose; update pnpm-lock.yaml with new dependencies for API and shared packages; revise README.md to reflect new stack and development setup.
Build, Test, and Push CFDM Docker Image / test (push) Has been cancelled
Build, Test, and Push CFDM Docker Image / build-and-push (push) Has been cancelled
Build, Test, and Push CFDM Docker Image / create-release (push) Has been cancelled
Build, Test, and Push CFDM Docker Image / update-wiki (push) Has been cancelled

This commit is contained in:
Denozordec committed 2026-06-19 12:06:32 +07:00
1 parent 0a0a1a92f1
commit d11414666f
2065 files changed
+15782 -16699

No files matched your search

+16 -4
View File
@@ -23,16 +23,28 @@ Open http://localhost:8080 — default login `admin` / `admin` (dev only).
## Stack
- **Backend:** Rust, Axum, sqlx, SQLite
- **Backend:** Node.js 22, Fastify 5, Drizzle ORM, SQLite (`apps/api`)
- **Shared:** Zod schemas (`packages/shared`), DB layer (`packages/db`)
- **Frontend:** pnpm monorepo (`apps/web` + `packages/ui`), React, Vite, TanStack Router/Query/Table, shadcn/ui (base-nova), Recharts
- **CI:** Gitea Actions (Gitflow)
## Frontend development
## Development
```bash
pnpm install
pnpm --filter web dev # http://localhost:5173, proxies /api → :8080
pnpm --filter web build
pnpm --filter @cfdm/shared build
pnpm --filter @cfdm/db build
# API + SQLite (:8080)
pnpm --filter @cfdm/api dev
# Frontend (:5173, proxies /api → :8080)
pnpm --filter web dev
```
```bash
pnpm turbo build
pnpm turbo test
```
shadcn CLI: `cd apps/web && pnpm dlx shadcn@latest add <component>`