chore: ignore .playwright-mcp/ and refresh GEMINI.md
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
.gemini
|
||||
.claude/
|
||||
.playwright-mcp/
|
||||
.worktrees/
|
||||
docs/
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user