This is a pnpm monorepo containing the Sentry Academy Workshop application.
├── apps/
│ ├── frontend/ # React + Vite frontend application
│ └── server/ # Node.js + Express backend server
├── scripts/ # Shared utility scripts
├── pnpm-workspace.yaml # pnpm workspace configuration
└── package.json # Root workspace package.json
- Node.js (v18 or higher)
- pnpm (v9 or higher)
-
Install dependencies for all packages:
pnpm install
-
Start both frontend and server in development mode:
pnpm dev
-
Or start them individually:
# Start only frontend pnpm dev:frontend # Start only server pnpm dev:server
pnpm dev
- Start both frontend and server in development modepnpm dev:frontend
- Start only the frontend applicationpnpm dev:server
- Start only the server applicationpnpm build
- Build both applicationspnpm build:frontend
- Build only the frontendpnpm build:server
- Build only the serverpnpm lint
- Run linting on all packages
pnpm dev
- Start Vite development serverpnpm build
- Build for productionpnpm lint
- Run ESLintpnpm preview
- Preview production build
pnpm dev
- Start development server with hot reloadpnpm build
- Build for productionpnpm start
- Start production serverpnpm db:*
- Database-related commands (generate, migrate, push, studio, seed)
The frontend runs on http://localhost:5173
and the server runs on http://localhost:3000
by default.
Both applications are configured with Sentry for error monitoring and performance tracking.