Statistics dashboard for Battlefield 1942, Forgotten Hope 2 (a mod), and Battlefield Vietnam.
- Node.js 18+
- npm
- Start the API backend (see bf1942-stats for instructions)
- Install and run the frontend:
npm install
npm run devThe dev server runs on http://localhost:5173 with proxies to backend services.
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build locally
npx vue-tsc --noEmit # Type check
npx playwright test # Run E2E testssrc/- Vue 3 + TypeScript applicatione2e/- Playwright E2E testsfeatures/- Feature documentation and design decisions
The Jenkins pipeline requires an Application Insights connection string to be configured as a Jenkins secret.
To add the secret:
- Go to Jenkins → Manage Jenkins → Credentials
- Add a new "Secret text" credential with:
- ID:
bfstats-appi-connection-string - Secret: Your Application Insights connection string (format:
InstrumentationKey=xxx;IngestionEndpoint=https://xxx.in.applicationinsights.azure.com/;LiveEndpoint=https://xxx.livedata.monitor.azure.com/)
- ID:
- Save the credential
The connection string is passed as a Docker build argument during the build process and baked into the frontend bundle at build time.