1.9 KiB
1.9 KiB
Repository Guidelines
Project Structure & Module Organization
This repository is currently a minimal skeleton with no source or test directories committed yet. As you add code, follow a clear top-level layout such as:
src/for application codetests/for automated testsscripts/for maintenance or build utilitiesdocs/for documentation and design notes
Keep new directories shallow and self-explanatory.
Build, Test, and Development Commands
- Frontend (Vue, Vite):
cd src/frontend && npm installinstalls dependencies.cd src/frontend && npm run devstarts the dev server.cd src/frontend && npm run buildcreates a production build.cd src/frontend && npm run previewpreviews the production build.
- API (.NET):
dotnet restore src/apirestores NuGet dependencies.dotnet build src/apibuilds the API.dotnet run --project src/apiruns the API.
- Dev shell:
scripts/dev-tmux.shstarts a tmux session with API and frontend windows and attaches to it, or adds windows to the current session if already inside tmux.
Coding Style & Naming Conventions
- Indentation: 2 spaces for JS/Vue, 4 spaces for C#.
- Naming:
camelCasefor JS,PascalCasefor C# types andcamelCasefor locals. - Formatting: no tooling configured yet.
Testing Guidelines
No testing framework is configured yet.
Commit & Pull Request Guidelines
The repository has no commit history available yet, so there is no established commit message convention. When you start committing:
- Use short, imperative subject lines (e.g., "Add tracker API")
- Include context in the body when changes are non-trivial
For pull requests, include a brief summary, any linked issues, and screenshots for UI changes.
Configuration & Secrets
Do not commit secrets. Use environment variables and provide sample configuration files such as .env.example when needed.