Copy these issues to your GitHub repository to start attracting contributors. These are great first tasks that help build repository activity.
Labels: good-first-issue, testing
The auth.service.ts in src/core/auth/auth.service.ts currently has only 45% test coverage. We need to add missing unit tests to bring coverage above 80%.
- Add tests for
register()method edge cases - Add tests for
login()with invalid credentials - Add tests for password reset flow
- Ensure all error cases are covered
- TypeScript
- Jest testing framework
- Basic understanding of NestJS
src/core/auth/auth.service.spec.ts
Labels: good-first-issue, bug, websockets
The WebSocket dashboard gateway in src/dashboard/websocket/dashboard.gateway.ts has minimal error handling. When clients disconnect abruptly, errors are not properly caught and logged.
- Add try-catch blocks around all WebSocket event handlers
- Implement proper error logging with context
- Add reconnection logic for dropped connections
- Update connection manager to handle edge cases
- TypeScript
- Socket.io
- Basic error handling patterns
src/dashboard/websocket/dashboard.gateway.tssrc/dashboard/websocket/services/connection-manager.service.ts
Labels: good-first-issue, security, validation
The oracle controller in src/blockchain/oracle/oracle.controller.ts is missing comprehensive input validation using class-validator. This could lead to invalid data being processed.
- Add proper validation decorators to all DTOs
- Add custom validators for Ethereum address formats
- Add validation for numerical ranges on payload data
- Test validation with invalid inputs
- TypeScript
- class-validator
- Basic understanding of DTO patterns
src/blockchain/oracle/dto/*.dto.tssrc/blockchain/oracle/oracle.controller.ts
Labels: good-first-issue, documentation
The README.md file has basic setup instructions but lacks concrete examples of how to use the API. New contributors struggle to get started quickly.
- Add example API calls with curl
- Add example WebSocket connection code
- Create a "5-minute quick start" guide
- Add troubleshooting section for common issues
- Markdown
- Basic understanding of REST APIs
- Good written communication
README.mddocs/DEVELOPER_QUICKSTART.md(create new)
**Labels]: good-first-issue, devops, configuration
The application currently doesn't validate that all required environment variables are present before starting. This leads to cryptic runtime errors.
- Extend
src/config/env.validation.tsto validate all required env vars - Add descriptive error messages for missing variables
- Add type checking for numerical values
- Test with missing/invalid environment variables
- TypeScript
- Environment configuration patterns
- Basic error handling
src/config/env.validation.ts
Labels: security, enhancement
While we have basic rate limiting, some API endpoints still don't have proper rate limiting configured. This could expose the API to abuse.
- Audit all controllers for missing rate limiting decorators
- Set appropriate rate limits based on endpoint sensitivity
- Add custom rate limit responses
- Document rate limits in API documentation
- NestJS
- Rate limiting concepts
- API security
- All controller files missing @RateLimit() decorator
src/common/guards/throttler.guard.ts
Labels: devops, good-first-issue
We have a Dockerfile but no docker-compose.yml for local development that includes all dependencies (PostgreSQL, Redis, etc.).
- Create docker-compose.yml for local development
- Include PostgreSQL, Redis, and the API service
- Add hot reloading support in Docker
- Document Docker development workflow
- Docker
- Docker Compose
- Basic devops
docker-compose.dev.yml(create new)- Update Dockerfile for development