Skip to content

Add Docker support for local development #5

Description

@udaycodespace

Description

LearnHub currently has no Docker setup — the backend, frontend, and MongoDB all need to be installed and run manually. Adding containerization would make onboarding faster and keep environments consistent across contributors.

What's needed

  • Dockerfile for the backend (Express/Node)
  • Dockerfile for the frontend (React/Vite)
  • docker-compose.yml wiring up backend, frontend, and MongoDB together
  • Environment variables handled via .env files (don't hardcode secrets in the compose file)
  • Update README with Docker-based setup instructions (as an alternative to the manual steps, not a replacement)
  • Confirm the seed script (seed.js) still works inside the containerized setup

Notes for contributors

This is open for anyone with Docker/DevOps experience to pick up. /assign yourself if you're taking it on. Happy to answer questions about the current backend/frontend structure if needed.

Metadata

Metadata

Assignees

Labels

ECSoC26Required label for a PR to be eligible for Sentinel scoringenhancementNew feature or improvement request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions