Commit Graph

10 Commits

Author SHA1 Message Date
Paul Huliganga 2c85b80004 feat(frontend): initialize React + Vite project with TypeScript
- Created frontend/ directory using Vite with React + TypeScript template
- Installed React Router 7 for client-side routing
- Set up project structure: components/, hooks/, pages/, services/, types/
- Created Recipe and Tag TypeScript interfaces matching backend schema
- Added basic App.tsx with project status display
- Verified dev server starts successfully on port 5173
- Added frontend README with development instructions
- Updated TODO.md to mark task as complete
2026-03-24 00:27:17 -04:00
Paul Huliganga 8bec840330 docs: update TODO.md to mark recipe CRUD API tasks as complete 2026-03-24 00:14:21 -04:00
Paul Huliganga e2599b81f4 feat(api): implement recipe CRUD API endpoints
- Add Recipe type definitions (Recipe, CreateRecipeInput, UpdateRecipeInput)
- Implement RecipeRepository for database operations (CRUD + search)
- Implement RecipeService with business logic validation
- Create Express routes with Zod validation schemas
- Add database initialization module with auto-save functionality
- Implement comprehensive integration tests (16 tests, all passing)
- Support pagination, search filtering, and proper error handling
- Follow layered architecture pattern (Routes → Services → Repositories)

All tests passing (16/16). TypeScript strict mode enabled.
2026-03-24 00:13:58 -04:00
Paul Huliganga 394aa22df1 feat(db): enable schema migration using sql.js and export to data/recipes.db 2026-03-24 00:01:41 -04:00
Paul Huliganga 88acb93068 fix(deps): switch to sql.js to resolve Node v22 compatibility
- better-sqlite3 incompatible with Node.js v22.22.0 (V8 API changes)
- Switched to sql.js (pure JavaScript SQLite, zero native deps)
- Updated ARCHITECTURE.md to reflect new choice
- Added ADR-001 documenting decision rationale
- Enables autonomous development on WSL2/Node v22

Per agent-harness methodology: unblock environment issues pragmatically.
2026-03-24 00:00:59 -04:00
Paul Huliganga 07b9be50b9 build(backend): set up TypeScript with strict mode and build script 2026-03-23 23:45:09 -04:00
Paul Huliganga ed1f4f88be feat(backend): initialize Node.js project with Express 2026-03-23 23:40:36 -04:00
Paul Huliganga 84648bf0fa fix(harness): improve task clarity and error signaling per agent-harness methodology
- TODO.md: Split vague tasks into explicit, atomic steps with verification criteria
- AGENT_INSTRUCTIONS.md: Add STUCK/ERROR/ALL_TASKS_COMPLETE signals per harness docs
- AGENT_INSTRUCTIONS.md: Add OpenClaw environment notes (absolute paths, exit signals)

Fixes stuck agent issue by following canonical agent-harness pattern from docs/agent-harness/.
2026-03-23 23:39:02 -04:00
Paul Huliganga c86402f0ed docs: finalize project decisions and AI features vision
- Domain: recipes.paje.ca
- Users: Whole Huliganga family (Anne, Elizabeth, Paul, Joseph)
- Data migration: Export from CopyMeThat (if free tier allows)
- v1 priority: Recipe scraping first
- v2+ AI features: Ingredient substitutions, meal planning, shopping lists, nutrition tracking, Fintrove cost integration, voice/OCR input

Ready for agent kickoff.
2026-03-23 22:12:58 -04:00
Paul Huliganga 6552640cfa chore: initialize recipe-manager project with agentic harness
- PROJECT.md: Product vision, success criteria, constraints
- ARCHITECTURE.md: Tech stack, patterns, deployment strategy
- ROADMAP.md: MVP → v1 → v2 milestone planning
- AGENT_INSTRUCTIONS.md: Development workflow for autonomous agents
- README.md: Project overview and quick start
- TODO.md: Task tracking
- .gitignore: Standard Node.js/Docker exclusions

Project ready for first agent sprint (MVP development).
2026-03-23 22:03:14 -04:00