- 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
The incremental flag was causing issues with build consistency in certain environments. Disabling it ensures reliable builds across all development setups.
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.
- 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
- 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
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.
- 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
- 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
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.
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.
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.