Skip to content
Projects

About

ARSM is a mechanic-facing workshop management tool built for auto service businesses. It helps mechanics organize their daily repair schedules, claim appointments, and track job progress through a clean, responsive dashboard.

Systems & Infrastructure

How these counts are measured

What you can do

  • Appointment intake, monthly calendar and day view, claim/assign flows, live updates (SSE)
  • Customers and vehicles with repair history
  • Parts and labour catalog with VAT-aware net/gross prices
  • Quotes per vehicle: part and labour lines, Draft -> Sent -> Accepted/Rejected, PDF, e-mail to the customer

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

ARSM - Appointment and Resource Scheduling Management

.NET React TypeScript PostgreSQL Aspire

ARSM is a workshop scheduling and operations app for auto service teams: mechanics and admins organize appointments, claim work, price jobs and send quotes in one responsive dashboard.

Hungarian version: README(HU).md

Features

  • Appointment intake, monthly calendar and day view, claim/assign flows, live updates (SSE)
  • Customers and vehicles with repair history
  • Parts and labour catalog with VAT-aware net/gross prices
  • Quotes per vehicle: part and labour lines, Draft -> Sent -> Accepted/Rejected, PDF, e-mail to the customer
  • Company results by year and month
  • Mechanic and admin roles, admin password reset, account lockout, CSRF and rate limits

Technology

Layer Technologies
Backend .NET 10, ASP.NET Core, EF Core, ASP.NET Core Identity, JWT cookies, QuestPDF
Frontend React 19, TypeScript, Vite, Tailwind CSS, TanStack Query
Data PostgreSQL (18 locally, 17 in production), S3-compatible object store (RustFS locally, Azure Blob in production)
Orchestration .NET Aspire (app/AutoService.AppHost)

Repository layout

Path Content
app/AutoService.ApiService API, domain model, EF Core, authentication
app/AutoService.WebUI React frontend and its Playwright E2E tests
app/AutoService.AppHost, app/AutoService.ServiceDefaults Aspire orchestration and shared service defaults
tests HTTP (tests/API), SQL (tests/Database), xUnit (tests/AutoService.UnitTests) and script tests
scripts validate.py gate, pre-push.py, local test runner, deploy-azure.py
deploy Azure production kit and token gate; guides in deploy/docs

Run locally

Prerequisites: .NET 10 SDK, Node.js 24+, Python 3.12+, Docker Desktop.

  1. Copy app/AutoService.ApiService/appsettings.Local.template.json to appsettings.Local.json (gitignored) and fill in JwtSettings.Secret, ConnectionStrings.AutoServiceDb, CompanyProfile.* (quote letterhead seed) and optionally Bootstrap.Admin.* (first admin on an empty database) and Seed.TestUsers (a list of test accounts created while missing, the same fields plus Admin; the API seeds no other data).
  2. Set the object store secrets once: dotnet user-secrets set "Parameters:minio-user" "<user>" and "Parameters:minio-password" "<password>" in app/AutoService.AppHost; set "Parameters:postgres-password" and "Parameters:jwt-secret" the same way.
  3. Install and start:
dotnet tool restore --tool-manifest dotnet-tools.json
cd app/AutoService.WebUI && npm install && cd ../..
cd app && dotnet run --project AutoService.AppHost

The AppHost starts PostgreSQL, RustFS, the API and the Vite dev server with VITE_API_URL injected.

Checks and tests

What Command
Fast gate on the changed files (type check, lint, build, size limits, no-shadow rule) python scripts/validate.py
Pre-push gate, the same stages as CI (install once: git config core.hooksPath .githooks) python scripts/pre-push.py
Local suites against a running AppHost python scripts/run-local-test-suite.py [playwright|http|sql]
Unit tests dotnet test in app/

Every push runs the pre-push gate; GitHub Actions repeats it (.github/workflows/), running the heavy jobs only for the paths a change touches; CI E2E runs only the specs selected for the diff, and the HTTP and SQL suites run only locally. Test reports go to tests/.artifacts/ in sanitized form.

Environments and releases

https://arsm.hu (production)
Runs on Azure Container Apps, PostgreSQL Flexible Server, Blob Storage
Updated Manually, from a commit you choose
Data Separate production database
Access Token gate sidecar (ARSM_PROD_GATE_TOKEN)

How a change goes out:

  1. Develop and check. Work on a local branch, run python scripts/validate.py, add a CHANGELOG.md entry, then bring the commit onto main. The remote holds only main.
  2. Push. git push origin main first runs the pre-push gate (validate, backend, frontend, the E2E specs the diff affects, HTTP and SQL suites on throwaway containers).
  3. Production release. After checking it locally, run from the clone that holds the production .env (az login first): python scripts/deploy-azure.py release --commit <sha>. It builds and pushes the three images tagged with the commit, runs the arsm-migrate job (migrations and the arsm_app role) and only after it succeeds rolls arsm-api and arsm-web to new revisions. A failed migration stops the release with the old version still serving. Check with curl -sS -o /dev/null -w "%{http_code}\n" https://arsm.hu/alive (401 from the gate without the token), then sign in and try a quote PDF.

Dependencies are updated by hand following .claude/skills/dependency-upgrade/SKILL.md, along the same path.

Details: deploy/docs/deployment-azure.md (the .env keys, first-time setup, alerts, operations).

Configuration and secrets

  • Secrets never go into git: API settings in appsettings.Local.json, test values in tests/.env and .secrets, deployment and MCP values in the root .env; each has a tracked template (*.template.json, *.example).
  • Production requires real AllowedHosts and Cors:AllowedOrigins, HTTPS and Deployment:RateLimiterTopology=SingleInstance (rate limits, login bans and session cutoffs are in-process).
  • AI SQL tooling uses the read-only ai_agent_test_user (SELECT only).

AI-assisted development

The repository is developed with Claude Code. The rules are in CLAUDE.md and the area CLAUDE.md files; larger tasks run through the arsm-chain workflow (.claude/workflows/arsm-chain.js): an orchestrator splits the task into work packages, agents implement and review them in parallel on models picked by the trirouter, then the validate.py gate and the tests matching the diff run.

License

This repository is not MIT-licensed. See LICENSE.md for the Custom Copyright Notice and Academic Use Policy.

Explore related projects

Loading…