Skip to content

Dev/question service#23

Open
jhwan0707 wants to merge 22 commits intofeature/question-service-microservicefrom
dev/question-service
Open

Dev/question service#23
jhwan0707 wants to merge 22 commits intofeature/question-service-microservicefrom
dev/question-service

Conversation

@jhwan0707
Copy link

Summary

This PR adds a complete chatbot microservice and enhances the question service for production readiness.

What's New

🤖 Chatbot Microservice

  • Complete RESTful API with CRUD operations
  • OpenAI integration support with multiple modes (coding, explanation, hint, general)
  • Conversation management with history tracking
  • Docker configuration and containerization
  • Health checks and performance monitoring

📚 Question Service Enhancements

  • Enhanced health endpoint with database status
  • 17+ questions added with comprehensive test cases
  • Improved API responses with all relevant fields (testCases, examples, hints)
  • Production-ready error handling and validation

Features

  • ✅ Complete API responses with all relevant information
  • ✅ Database persistence for questions in MongoDB
  • ✅ Conversation management for chatbot
  • ✅ Health monitoring endpoints
  • ✅ Error handling and input validation
  • ✅ Security headers and rate limiting
  • ✅ Docker support for both services

Testing

  • All endpoints tested and verified
  • Both services are production-ready
  • Database connections working correctly
  • See verify-production-ready.md for API documentation

Docker

Both services can be run with Docker:

  • Question Service: docker-compose up in question-service/
  • Chatbot Service: docker-compose up in chatbot-service/

LF1928 and others added 22 commits October 14, 2025 23:11
- Add DEVELOPMENT.md with branch structure and workflow
- Establish formal development process
- Document current branch status and commit history
- Rename development branch to dev/question-service for better organization
- Update documentation to reflect new branch structure
- Clean up branch naming convention
Seperated the jsx files from styling and added collaboration page.
- Add complete chatbot microservice with CRUD operations
  - RESTful API endpoints for chat, conversations, and conversation management
  - OpenAI integration support with multiple chatbot modes
  - Performance monitoring and health checks
  - Docker configuration and containerization

- Enhance question service for production readiness
  - Add database health check to health endpoint
  - Add comprehensive API response fields (testCases, examples, hints)
  - Improve error handling and validation
  - Add 17+ questions with test cases for code verification

- Production-ready features:
  - Complete API responses with all relevant information
  - Database persistence for questions in MongoDB
  - Conversation management for chatbot
  - Health monitoring endpoints
  - Error handling and input validation
  - Security headers and rate limiting

- Add Docker support for chatbot service
- Add comprehensive documentation and test scripts
@jhwan0707 jhwan0707 self-assigned this Oct 29, 2025
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.

3 participants