BizPilotHub is now a true npm-workspaces monorepo with a TypeScript web app, a TypeScript Express API foundation, shared packages, and Docker-ready local development.
Auth, organizations, and RBAC are intentionally not implemented yet. This repository is the production-minded scaffold you can extend next.
The API connects to PostgreSQL via DATABASE_URL (see apps/api/.env.example). Check connectivity at GET /api/health/db.
apps/web- React + Vite starter shellapps/api- Express API foundationpackages/ui- shared UI primitivespackages/types- shared TypeScript typespackages/utils- shared utilitiespackages/eslint-config- shared ESLint presetspackages/tsconfig- shared TypeScript presetsinfra/docker- development Compose setupdocs- supporting project docs
- Node.js 20 or newer
- npm 10 or newer
- Docker Desktop if you want the development stack
npm install
npm run devThe root dev script runs the web and API apps through Turborepo. The API is available at http://localhost:4000 and the web app at http://localhost:3000.
docker compose -f infra/docker/compose.dev.yml up --buildThis starts the web app, API, and PostgreSQL for local development.
The repository currently provides:
- a shared monorepo workspace layout
- TypeScript starter apps for web and API
- shared lint and TypeScript presets
- reusable UI and utility packages
- Dockerfiles for both apps
- a development Compose stack
The intended follow-up work is authentication, MongoDB integration, organizations, RBAC, and deployment hardening.