Added the menu category delete route. Fix: Show blank vouchers in tables Fix: In rare cases, the old settements can stick around. fixed it.
1.3 KiB
1.3 KiB
Project Architecture & Guidelines
Monorepo Layout
- Backend:
./barker(Python, managed viauv) - Frontend:
./bookie(Angular, managed vianpm/ng) - Environment: Root
.envfile containing shared/database variables.
Execution Rules & Commands
Backend (/barker)
- Working Directory: Always execute backend commands within
./barkerOR pass--directory barkertouv. - Package & Script Management:
- Use
uvexclusively. Never run barepipor globalpython. - Run scripts/tests:
uv run python <script>oruv run pytestfrom inside./barker. - Manage dependencies:
uv add <package>oruv remove <package>.
- Use
- Environment: The root
.envfile (../.envrelative tobarker) contains the database connection string and secret keys.
Frontend (/bookie)
- Working Directory: Always execute frontend commands within
./bookie. - Commands:
- Run dev server:
npm startorng serve - Code generation:
ng g c components/<name>(prefer standalone components) - Testing:
ng test --watch=false - Build:
ng build
- Run dev server:
Database (PostgreSQL)
- Database settings are defined in the root
.env. - Inspect schema, run migrations, or check types strictly via database tools or
uv runscripts inside./barker.