Game recomendation engine: admin panel, db seeding, user context
Project #8 of 10 in "Backend Development for serious guys!" progression
Updated: Oct 14, 2026
CodePen
See the Pen Game recomendation engine: admin panel, db seeding, user context by _Dave (@_Dave) on CodePen.
Learning plan
-
- Selecting framework: Django / Laravel
- CRUD for games
-
- Catalog page with search and filters
- Game detail page
- Basic user session or login
-
- Popularity-based: simple, strong baseline.
- Content-based: genres or TF-IDF with cosine similarity.
- (Stretch) Collaborative and hybrid: introduced in Phase 5.
-
- Rank games by purchases or views
- Or average rating (a weighted score like Bayesian average so one 5-star review doesn’t win)
- Show it as a “Top games” or “Trending” block
-
- Define simple marketing metrics early
- Cick-through rate on recommendations
- Precision@k so every later step can be compared to this baseline
-
- Convert descriptions, genres, and tags into TF-IDF vectors.
- Embeddings are a later upgrade
-
- Compute cosine similarity between games and show “Similar games” on each detail page
- Precompute and cache the top-N neighbors per game
-
- Build a user profile from the vectors of games they liked or bought, then recommend the nearest items
-
- Log impressions (what was shown)
- Clicks
- Wishlist adds
- Purchases
- Ratings with timestamps
-
- Because you only learn about what you show, mix in some random or less-shown items (e.g. epsilon-greedy: 10% of slots go to exploration)
-
- Popularity bias
- Feedback loops
- Scaling
- Cold start