You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A full-stack calorie tracking web application inspired by HealthifyMe.
Track meals, water intake, macros, and daily progress with a beautiful mobile-first UI.
cd server
npm install
npm run migrate:pg-to-mongo # optional: copies existing PostgreSQL data into MongoDB# OR if starting fresh (no PostgreSQL data to migrate):# npm run seed
npm run dev
MONGODB_URI="mongodb://127.0.0.1:27017/pureintake"POSTGRES_URL="postgresql://postgres:password@localhost:5432/pureintake"# optional, only for one-time migrationJWT_SECRET="your_secret_key"PORT=5001NODE_ENV="development"ADMIN_EMAILS="*"# comma-separated admin emails; use * for local development
Admin Bulk Upload
UI: /admin/bulk-upload (after login)
API: POST /api/food/bulk
Input: JSON array or CSV parsed by the admin panel
Quality & Safety Tooling
Type safety (TypeScript checks on JS)
cd client && npm run typecheck
cd server && npm run typecheck
Unit tests
cd client && npm run test:unit
cd server && npm run test:unit
E2E tests
cd client
npx playwright install chromium # first time only
npm run test:e2e