This repository is an aggregator for the CalorieTracker backend, frontend, and planning assets. It exists so automation tools, free-provider subagents, and local testing can operate from a single sandbox-friendly path that contains the three subsystems as subdirectories.
backend/– mirror ofCalorieTracker_BackEndfrontend/– mirror ofCalorieTracker_FrontEndplan/– mirror ofCalorieTracker_Planscripts/– helpers for synchronizing and managing the mirrors
In Stage 1 we focus on scaffolding the structure, keeping each mirror in sync with the authoritative repo, and ensuring the aggregator can serve as the single entry point for future Stage 2 automation work.
Use scripts/sync_repos.sh (stage 1) to pull the latest files from the _BackEnd, _FrontEnd, and _Plan repos into this aggregator.
It preserves the upstream node_modules, .git, and other autogenerated artifacts out of the copies, so the aggregated tree stays clean.
- Confirm the mirrors contain the expected files (
backend/,frontend/,plan/). - After Stage 1 is complete, we will treat
/Users/luis/Repos/CalorieTrackeras the new root forStart CalorieTrackerand the free-cycle skills. - Future documentation will describe how to regenerate the original repos from these mirrors when needed.
- After you sync the mirrors, run
npm installinside bothbackend/andfrontend/so the node modules and compiled artifacts are available (cd backend && npm install,cd frontend && npm install). - Use
scripts/start_calorietracker.shto start the backend/postgres stack from/Users/luis/Repos/CalorieTracker; it now builds the backend, runs migrations, and launches the frontend so you get the same URLs as before (:3000for the UI and:4000for the health endpoint). - After the stack is running, the URLs are still the familiar ones:
- Frontend:
http://<your local IP>:3000 - Backend health:
http://<your local IP>:4000/health
- Frontend:
- When documenting or scripting future work, treat this repo as the canonical workspace and refer to the
backend/,frontend/, andplan/subdirectories instead of the legacy_BackEnd,_FrontEnd, and_Planpaths.
Some existing markdown files still mention the previous repo paths (CalorieTracker_BackEnd, CalorieTracker_FrontEnd, CalorieTracker_Plan). Treat those as historical references that predate this aggregator; once the new repo is published we will update or reframe the old docs accordingly.