How londheshubham153/github-actions-kubernetes-masterclass works
SkillPulse tracks skills, learning goals, logged sessions, and aggregate progress: users manage skills and record hours in the browser, then review updated skill totals and dashboard statistics. Its Go API routes these operations to MySQL. The repository also demonstrates GitHub Actions image publishing and automated deployment to EC2. Handler and browser relationships are shown where excerpts support them; CI/CD relationships rely on the README, since workflow source was not sampled.
Main entry points: main.go API router · init.sql MySQL schema · skills.go Skill management · logs.go Session logging
Components 15
Web application
- Skill tracker UI
frontend/js/app.js - Web page
frontend/index.html
API service
- API router
backend/main.go - Skill management
backend/handlers/skills.go - Session logging
backend/handlers/logs.go - Dashboard and health
backend/handlers/dashboard.go - Domain models
backend/models/skill.go
Persistence
- Database connection
backend/database/db.go - MySQL schema
mysql/init.sql
CI/CD delivery
- CI image publishing
.github/workflows/ci.yml - CD deployment
.github/workflows/cd.yml
Other components
- Learner
- Docker Hub
- EC2 deployment host
- Running application
Connections 20
- Learner → Web page: uses
README.md - Web page → Skill tracker UI: loads
- Skill tracker UI → API router: requests API
frontend/js/app.js - API router → Database connection: connects
backend/main.go - API router → Skill management: routes skill requests
backend/main.go - API router → Session logging: routes log requests
backend/main.go - API router → Dashboard and health: routes dashboard and health
backend/main.go - Skill management → MySQL schema: reads and writes
backend/handlers/skills.go - Session logging → MySQL schema: checks and records
backend/handlers/logs.go - Dashboard and health → MySQL schema: queries totals
backend/handlers/dashboard.go - Skill management → Domain models: uses
backend/handlers/skills.go - Session logging → Domain models: uses
backend/handlers/logs.go - Dashboard and health → Domain models: uses
backend/handlers/dashboard.go - Database connection → MySQL schema: connects
backend/database/db.go - Learner → CI image publishing: pushes change
README.md - CI image publishing → Docker Hub: publishes images
README.md - CI image publishing → CD deployment: triggers on success
README.md - CD deployment → Docker Hub: pulls images
README.md - CD deployment → EC2 deployment host: deploys over SSH
README.md - EC2 deployment host → Running application: runs
README.md