project
Visitor Counter
A lightweight serverless tracking feature that shows how many visitors have accessed the portfolio - the same number you see live in the console panel on the homepage.
Overview
- Displays a live visitor count in the console panel on the homepage
- Tracks hits using a fully serverless backend
- Runs entirely on-demand - no infrastructure to manage
Architecture
- DynamoDB - table
PortfolioVisitorCountstores the hit counter - Lambda - increments the counter and returns the total
- API Gateway - HTTP API exposes the Lambda via
/visitor-count - Frontend - fetches and renders the value live inside the metrics panel
Services used
LambdaAPI GatewayDynamoDB
S3CloudFrontIAM
GitHub Actions
Live demo
Look for "Visitors (live)" in the console panel on the homepage - it's this project, running right there.