13 Commits

Author SHA1 Message Date
Jp
9442352a87 test 2026-02-02 16:38:39 +08:00
Jp
e16e3ec387 chore: change seed script to use compiled JS instead of ts-node
- Update package.json to run node scripts/seed.js instead of ts-node scripts/seed.ts
- Rewrite seed.js to use compiled model from dist/ directory and Sequelize directly
- Add proper error handling and database connection setup
- Ensure script works after build, requiring npm run build first
2026-02-02 16:34:17 +08:00
Jp
0999d46bd0 chore: disable incremental compilation in tsconfig
The incremental flag was causing issues with build consistency in certain environments. Disabling it ensures reliable builds across all development setups.
2026-02-02 16:01:02 +08:00
Jp
cdbf2cdc3b build: add nodejs and python env for nixpacks setup
The Node.js package was missing from the nixPkgs list, which is required for the npm ci command to run. Also explicitly set the PYTHON environment variable to ensure the correct Python version is used during the build.
2026-02-02 15:54:51 +08:00
Jp
b2bd4cba02 chore: replace Docker setup with Nixpacks configuration
- Remove Dockerfile and docker-compose.yml in favor of nixpacks.toml
- Keep backup files (Dockerfile.bak, docker-compose.yml.bak) for reference
- Nixpacks provides a simpler, declarative approach to building and deploying
2026-02-02 15:36:22 +08:00
Jp
cb4a7eadac ci(docker): increase health check start period and use localhost IP
- Increase start_period from 5s to 10s to allow more time for service initialization
- Change health check URL from localhost to 127.0.0.1 for better compatibility
2026-02-02 01:01:12 +08:00
Jp
39c16f5090 feat: add health check endpoint and Docker health monitoring
Add a /health endpoint to the application controller and configure Docker health checks.
This enables container orchestration systems to monitor the application's liveness and readiness.
2026-02-02 00:54:10 +08:00
Jp
3dc74b6aa2 feat(docker): add Docker support and enhance dashboard data
- Add Dockerfile and docker-compose.yml for containerized deployment
- Update server to listen on all network interfaces for Docker compatibility
- Add .dockerignore to exclude unnecessary files from build context
- Enhance dashboard controller with additional user data, trends, and suggestions
- Update package.json scripts for proper Docker build workflow
2026-02-01 21:26:26 +08:00
Jp
f521970a65 build: add TypeScript configuration and generate declaration files
- Add tsconfig.json for TypeScript compilation with declaration and source map generation
- Generate .d.ts declaration files for all modules, services, controllers, and models
- Update package.json with NestJS dependencies and TypeScript development tools
- Include database files in the distribution output for persistence
2026-01-31 09:00:26 +08:00
Jp
0fa0343798 feat(meal-planner): add auto-generate meal plan functionality
Add new utility function to generate daily meal plans based on user's calorie targets and food categories. Include auto-generate button in meal planner UI with confirmation prompt. Add new Filipino food items to seed data for better meal variety. Fix database column references to use capitalized field names consistently.
2026-01-31 00:56:25 +08:00
Jp
cb2fe12c73 chore: remove Docker and containerization configuration files
The project no longer requires containerized deployment. Removing nixpacks.toml, Dockerfile, and docker-compose.yml simplifies the repository and aligns with a shift to a different hosting or deployment strategy.
2026-01-31 00:26:49 +08:00
Jp
0afd03feb0 chore: add deployment and environment configuration files
Add .env.example for environment variable reference, nixpacks.toml for Nixpacks deployment, and docker-compose.yml for containerized deployment. These files provide necessary configuration for running the application in different environments.
2026-01-30 23:42:41 +08:00
Jp
3df16ee995 initial commit 2026-01-30 23:32:43 +08:00