From 755c084f5ee421b755fc653db722dd74db3f6989 Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Wed, 29 Apr 2026 02:06:01 +0200 Subject: [PATCH] chore: ignore .playwright-mcp/ and refresh GEMINI.md --- .gitignore | 1 + GEMINI.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cdc0199..07f5bc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .gemini .claude/ +.playwright-mcp/ .worktrees/ docs/ diff --git a/GEMINI.md b/GEMINI.md index 33965f1..3d37f5e 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -13,7 +13,7 @@ TutorTool is a full-stack web application for tracking student attendance in tut ## Project Overview -- **Architecture**: Monorepo with a Rust backend (Axum) and a SvelteKit 5 frontend. +- **Architecture**: Standalone repo with a Rust backend (Axum) and a SvelteKit 5 frontend. - **Backend**: - **Framework**: Axum (async) on Tokio. - **Database**: SQLite via SQLx. Migrations are automatically run at startup. @@ -30,7 +30,7 @@ TutorTool is a full-stack web application for tracking student attendance in tut ### Prerequisites - Rust 1.95.0 (pinned via `rust-toolchain.toml`) -- Node.js & npm +- Node.js & pnpm - SQLite ### Demo Credentials @@ -43,7 +43,7 @@ TutorTool is a full-stack web application for tracking student attendance in tut - `make dev`: Starts both backend and frontend in parallel (requires `JWT_SECRET` and `DATABASE_URL` in environment). - `make build`: Performs a full production build (frontend first, then backend). - `cargo test`: Runs all backend unit and integration tests (uses `sqlx::test`). -- `npm run check`: Performs TypeScript and Svelte type checking for the frontend. +- `pnpm check`: Performs TypeScript and Svelte type checking for the frontend. ### Environment Variables - `DATABASE_URL`: Path to the SQLite database (e.g., `sqlite:./dev.db`). @@ -62,7 +62,7 @@ TutorTool is a full-stack web application for tracking student attendance in tut - **Runes**: Use Svelte 5 Runes for state management. - **Type Safety**: Ensure `frontend/src/lib/types.ts` is kept in sync with `backend/src/models.rs`. - **Layouts**: - - `src/routes/login/`: Public login page. + - `src/routes/admin/login/`: Public login page. - `src/routes/admin/`: Protected admin routes (tutor dashboard). - `src/routes/s/[code]/`: Public student check-in page.