How londheshubham153/skillpulse works
SkillPulse is a learning tracker and a DevOps teaching project: users manage skills and learning sessions in a browser, while the API aggregates progress from MySQL. The repository also demonstrates provisioning and deploying the app to a single EC2 host. The API handlers and frontend behavior are excerpted; infrastructure and proxy relationships below follow the README’s architecture description, not an inspection of those implementation files.
Main entry points: main.go API router · nginx.conf nginx proxy · docker-compose.yml Container services · db.go Database connection
Components 19
Web interface
- nginx proxy
nginx/nginx.conf - Static frontend
frontend/index.html - Browser app
frontend/js/app.js
Go API
- API router
backend/main.go - Skill handlers
backend/handlers/skills.go - Session handler
backend/handlers/logs.go - Dashboard and health
backend/handlers/dashboard.go - Request and response models
backend/models/skill.go
Learning data
- Database connection
backend/database/db.go - MySQL
- Schema and seed data
mysql/init.sql
Infrastructure and delivery
- Image build workflow
.github/workflows/ci.yml - Docker Hub
- Deploy workflow
.github/workflows/cd.yml - AWS provisioning
terraform/main.tf - EC2 host
- Container services
docker-compose.yml
Other components
- Learner
- Git push
Connections 25
- Learner → nginx proxy: opens app
README.md - nginx proxy → Static frontend: serves static files
README.md - Browser app → nginx proxy: requests /api
README.md - nginx proxy → API router: proxies API
README.md - API router → Skill handlers: routes skills
backend/main.go - API router → Session handler: routes sessions
backend/main.go - API router → Dashboard and health: routes dashboard and health
backend/main.go - Skill handlers → Database connection: queries and writes
backend/handlers/skills.go - Session handler → Database connection: checks and writes
backend/handlers/logs.go - Dashboard and health → Database connection: aggregates and pings
backend/handlers/dashboard.go - Skill handlers → Request and response models: binds and returns
backend/handlers/skills.go - Session handler → Request and response models: binds and returns
backend/handlers/logs.go - Dashboard and health → Request and response models: returns stats
backend/handlers/dashboard.go - Database connection → MySQL: connects
backend/database/db.go - Schema and seed data → MySQL: initializes schema
README.md - Git push → Image build workflow: triggers build
README.md - Image build workflow → Docker Hub: publishes image
README.md - Git push → Deploy workflow: triggers deploy
README.md - Deploy workflow → EC2 host: deploys over SSH
README.md - AWS provisioning → EC2 host: provisions
README.md - EC2 host → Container services: runs services
README.md - Container services → nginx proxy: runs proxy
README.md - Container services → API router: runs backend
README.md - Container services → MySQL: runs database
README.md - Deploy workflow → Docker Hub: pulls image
README.md