This is a medical reports translation application built with:
- NestJS backend
- Vue.js frontend
- Docker containerization
- AWS services integration
- Follow TypeScript best practices
- Use NestJS architectural patterns
- Maintain consistent error handling
- Write comprehensive tests
- Document public APIs
- Use dependency injection
- Implement repository pattern
- Follow SOLID principles
- Use async/await over promises
- Implement proper error boundaries
When suggesting code changes:
- Explain the rationale briefly
- Show the code changes
- Highlight any potential issues
- Include relevant tests
- Include JSDoc comments for public methods
- Write clear commit messages
- Update README.md for significant changes
- Document environment variables
- Write unit tests for business logic
- Include integration tests for APIs
- Follow AAA pattern (Arrange-Act-Assert)
- Mock external dependencies
- Validate all inputs
- Sanitize data before storage
- Implement proper authentication
- Follow security best practices