Skip to content

Conversation

@iodsky
Copy link
Owner

@iodsky iodsky commented Jul 15, 2025

No description provided.

iodsky added 30 commits June 16, 2025 14:17
- Replaced res.status() with HTTPResponse.error for consistent API error format
- Added specific error handling for expired and invalid JWTs
- Set target to ES2020 for improved language feature support
- Added rootDir and outDir for cleaner build output structure
- Removed commented defaults for a cleaner config file
- Renamed service from 'backend' to 'expressjs' for clarity
- Removed redundant container_name entries
- Reordered services for consistency
…sponses

Replaced generic success and error methods with specific HTTP methods.
- Improves clarity, reusability, and reduces repetition when returning responses
…sponses

- Replaced generic success and error methods with specific HTTP methods.
- Improves clarity, reusability, and reduces repetition when returning responses
0 Replaced raw res.status(400) with HTTPResponse.badRequest for consistency
- Improved validation error messages for firstName and lastName
- Combined all validation errors into a single readable string
- Renamed package to brainbytes-api
- Added Jest, Supertest, and ts-jest for testing
- Added clean, build, and test scripts
- Updated lint commands for better glob handling
- Renamed package to brainbytes-api
- Added Jest, Supertest, and ts-jest for testing
- Added clean, build, and test scripts
- Updated lint commands for better glob handling
- Added pre-save hook in user model to handle hashing
- Removed manual hashing from registerUser controller
- Simplified controller logic and improved maintainability
iodsky added 28 commits July 4, 2025 14:35
- Removed cors (no longer needed without frontend/browser requests)
- Moved @types/morgan to devDependencies
- Ignore build outputs, dependencies, env files, and coverage
- Added Docker-related and local dev/testing files to ignore lists
- Set JWT_SECRET and MONGO_URI_DOCKER as environment secrets
- Added 'environment: GitHub actions' to job
- Upgrade actions/checkout to v4
- Upgrade pnpm/action-setup to v4
- Add Docker build job using buildx and GHCR
- Use docker/login-action and build-push-action for publishing
- Ignore changes to Markdown and docs in CI triggers
- Specify Dockerfile.prod as build target
- Use ghcr.io/<owner>/<image-name>:tag format
- Replace GITHUB_TOKEN with GHCR_PAT to bypass permission issues
- Fix "denied: installation not allowed to Create organization package" error
…ondition

- Use actions/setup-node to explicitly install node.js with pnpm cache support
- Use pnpm/action-setup only for installing pnpm CLI
- Add conditional check to run docker image build only on push to master (post-merge).
- Replaced pnpm/action-setup with npm global install
…tions

- Use pnpm/action-setup before setup-node to ensure pnpm is available for caching
…gration

- Defined 'brainbytes_net' as a project-scope network for internal service communication
- Connected mongodb, expressjs, and watchtower to 'brainbytes_net'
- Added 'traefik' external network for reverse proxy routing to expressjs
- Removed unnecessary port binding from expressjs (relying on Traefik routing)
- Improved network isolation and readiness for production deployment
- Added Traefik service with dynamic config from Docker
- Enabled HTTP/HTTPS entrypoints and Let's Encrypt TLS via ACME
- Configured Traefik dashboard and secure service exposure
- Mounted Docker socket and cert storage for automation
- Declared external 'traefik' network for container routing
@iodsky iodsky temporarily deployed to GitHub actions July 15, 2025 03:57 — with GitHub Actions Inactive
@iodsky iodsky merged commit 26b141f into master Jul 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants