# Master Tips

An AI casino finder: a visitor describes what they want, and the app returns casinos that fit, ranked with a trust score called the Good Gambling Index. It has a signed-in explorer, an admin and member back office with AI drafting, and a weekly scoring job.

- **Facts:** 2026, Built for a client, Completed, role: Lead developer
- **What I did:** I led 1 other developer. I did the estimate and the architecture, ran the calls with the client, built the app, released it and supported it after release. The other developer built a few public pages and the sign-in pages.
- **Scope:** fullstack
- **Domain:** gaming, ai
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Prisma, PostgreSQL, oRPC, Better Auth, Vercel AI SDK, Upstash Vector, Arcjet, Vitest, TanStack Query, TanStack Table, Zod, React Hook Form, Zustand, nuqs, date-fns, Recharts, Embla Carousel, Radix UI, shadcn/ui, Gemini API, Resend, PostHog, Vercel Blob, Vercel Analytics, Vercel, Cron jobs, T3 Env, React Compiler, Biome, Ultracite, dotenvx, Docker Compose, Docker, GitHub Actions, pnpm, Claude Code, Figma
- **Live:** https://mastertips.com/
- **Page:** https://sergey-petrinich.vercel.app/work/master-tips

Capabilities:

- Your Picks: hard filters on country and payment method, then a weighted score with semantic search on Upstash Vector
- Top, New, History and Favorites pages, casino detail pages, reviews and comments
- Guest onboarding that carries preferences into the new account after sign-up
- Scoring engine with 7 modules, admin-editable weights and a confidence value
- Weekly cron recalculation, score history by ISO week, and a public awards page
- Casino CRUD with bulk CSV import and preview, change history and comment moderation
- Members with roles, per-section permissions and e-mail invitations
- AI text generation with a prompt guard, an output guard and a uniqueness check
- 70+ oRPC procedures, 30+ pages and 30 Prisma models on PostgreSQL
- Better Auth with roles checked in the proxy and again in the middlewares, Arcjet protection and rate limits
- 10 test files for the scoring and the GGI engine

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
