feat: Add Docker containerization for backend services#41
Merged
CipherYuvraj merged 1 commit intoCipherYuvraj:mainfrom Oct 22, 2025
Merged
Conversation
Resolves CipherYuvraj#21 - Containerize backend with Redis and MongoDB 🐳 Docker Setup: - Added docker-compose.yml with MongoDB, Redis, Backend, and Frontend services - Created backend/Dockerfile for Node.js API service - Added frontend/Dockerfile.dev for React development - Configured MongoDB with default credentials and initialization script - Set up Redis with authentication and persistence 🔧 Configuration: - Added backend/.env.example with all required environment variables - Created MongoDB initialization script with sample data - Updated package.json scripts for Docker development workflow - Added comprehensive environment variable configuration 📚 Documentation: - Created DOCKER.md with complete setup and usage instructions - Updated README.md with Docker quick start guide - Added troubleshooting section and useful commands - Documented default credentials and service ports 🚀 Development Experience: - Single command startup: ./start-dev.sh - Automated service health checks - Hot reload for both frontend and backend - Consistent development environment across all contributors ✨ Benefits: - Eliminates manual MongoDB/Redis installation - Reduces setup errors and environment inconsistencies - Simplifies onboarding for new contributors - One-command development environment startup - Docker Compose manages all service dependencies 🏷️ Hacktoberfest 2025 Contribution This addresses the core requirements mentioned in issue CipherYuvraj#21 and significantly improves the developer experience for this open-source project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #21 - Containerize backend with Redis and MongoDB
🐳 Docker Setup:
🔧 Configuration:
📚 Documentation:
🚀 Development Experience:
✨ Benefits:
🏷️ Hacktoberfest 2025 Contribution
This addresses the core requirements mentioned in issue #21 and significantly improves the developer experience for this open-source project.