| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | refactor: inject the database into every servicemain | Martin Kagamino Lehoux | 16 hours |
| | | | | | | | | Groceries, projects, references and routines become classes holding the Drizzle handle, wired once in services/index.ts alongside categories. Tests build their own instance on an in-memory database. Drops the unused projects.loadAll and projects.rename. | ||
| * | refactor: inject the database into services via a constructor | Martin Kagamino Lehoux | 16 hours |
| Pilot on the categories service: a CategoriesService class holds the Drizzle handle, and services/index.ts wires the real instance once for the server while tests build their own on an in-memory database. AppDatabase moves from groceries.ts to db/types.ts. | |||
