This is a lightweight web application designed to collect anonymous feedback from students.
The project intentionally ships without any Docker configuration. During the Docker workshop, participants will containerize the application by creating the necessary Docker artifacts themselves.
- Submit anonymous feedback.
- View previously submitted feedback.
- Store feedback temporarily using Redis.
- Separate frontend and backend components.
docker-workshop/
├── README.md
├── DOCKER_THEORY.md
├── DOCKER_PRACTICAL.md
│
├── frontend/
│ ├── index.html
│ ├── script.js
│ └── style.css
│
└── backend/
├── app.py
└── requirements.txt
First ensure you have these installed:
- Python 3.12+
- Redis package
redis-servercd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.pyOpen the following file in your browser:
frontend/index.html
Optionally, you can use python.server:
python -m https.server 8080Students should be able to:
- Open the feedback portal.
- Submit feedback.
- See the feedback appear immediately.
- Refresh the page and observe that Redis preserves the data while it is running.
The repository intentionally does NOT include:
Dockerfile
docker-compose.yml
.dockerignore
These components will be developed during the Docker workshop.
By the end of the Docker session, participants should have created:
Backend:
✓ Dockerfile
Frontend:
✓ Dockerfile
Project Root:
✓ docker-compose.yml
✓ .dockerignore
✓ Multi-container application running successfully
This same repository can later be used to demonstrate:
- Automated Docker builds
- GitHub Actions workflows
- Container testing
- Deployment pipelines