Anonymous TikTok agency reviews, backed by verified creator identity.
Rate My Agency is a creator-driven reputation platform for the TikTok agency ecosystem. The core product problem was trust: creators needed a way to share candid agency experiences without exposing themselves publicly, while the platform still needed enough identity verification and abuse prevention for those reviews to mean something.
I built Rate My Agency as a public review platform where anyone can research TikTok agencies, but only privately verified TikTok creators can contribute reviews.
The product deliberately separates identity from reputation. A creator authenticates through TikTok so the system can establish that a real creator owns the contribution, but their identity never becomes part of the public review object. Agencies do not need to claim a profile, integrate with the product, or cooperate with the review process; creators can add them directly using their TikTok handle.
That creates a lightweight, creator-first system for building an independent reputation layer around an ecosystem where much of the useful information otherwise travels through private conversations.
Reviews combine structured ratings for overall experience, support, growth, fairness, and opportunities created with detailed qualitative feedback. Agency pages turn those contributions into deterministic aggregate ratings alongside anonymous creator experiences.
I designed the product around several competing requirements:
- make contributing easy enough that creators will actually participate;
- verify contributors without compromising public anonymity;
- allow coverage of agencies without requiring agency onboarding;
- prevent repeat-review abuse without exposing private creator activity;
- collect structured data that can be compared across agencies while preserving the nuance of written experiences.
Anonymous reviews have a basic trust problem: removing identity also removes one of the easiest ways to establish that a reviewer is real.
Rate My Agency solves that by separating the two layers.
TikTok open_id establishes contribution ownership privately. Public agency and review responses are constructed without creator identifiers, so identity is used as an internal trust primitive rather than a public product feature.
The result is verified participation without public attribution.
I did not make agency participation a prerequisite for having a page.
Agencies are identified by normalized TikTok handles, and creators can add a new agency as part of the review flow. This avoids the cold-start problem of requiring agencies to claim profiles before the platform becomes useful and keeps the product aligned with the people providing the information rather than the organizations being reviewed.
I wanted the product to answer more than whether someone broadly “liked” an agency.
Each contribution captures structured ratings and signals across the parts of the relationship creators actually care about, including support, growth, fairness, and opportunities created, alongside qualitative prompts that preserve context.
Those inputs become deterministic public aggregates, giving users both comparable agency-level signals and the underlying anonymous experiences behind them.
The platform maintains a private four-month, cross-agency review lockout after a successful contribution.
Importantly, that restriction is intentionally opaque. The API exposes only whether the creator is currently eligible to submit another review. It does not reveal the previous agency, review date, release date, or remaining lockout duration.
This creates friction against repeat-review manipulation without turning the anti-abuse system into a source of private behavioral data.
Production authentication requests only TikTok’s user.info.basic scope.
The product needs enough identity to verify contribution ownership, not broad access to a creator’s TikTok account. That boundary shaped both the OAuth implementation and the broader privacy model.
Rate My Agency also marked a deliberate change in how I approached infrastructure.
On earlier projects, I had used AWS Amplify extensively. By this point I could see that the framework and deployment model were adding meaningful development friction relative to the size of the product. I evaluated alternatives and moved this project to Cloudflare.
That decision was not simply about replacing one hosting provider with another. I wanted an architecture with fewer abstractions, clearer ownership boundaries, and a faster path from product decision to production behavior.
The resulting system is intentionally small:
React 19 + TypeScript + Vite
|
| same-origin /api JSON
v
Cloudflare Pages Function
|
v
Cloudflare Worker API -------- TikTok Login Kit and user-info API
|
| encrypted HttpOnly session cookie
v
Cloudflare D1
|-- users
|-- agencies
|-- creator_agency_links
`-- agency_reviews
The React frontend communicates through one shared API service. A Pages Function proxies same-origin /api requests to the Worker.
The Worker owns the actual application boundary: TikTok OAuth, authentication, session validation, request validation, review eligibility, public aggregation, abuse prevention, and all database access.
Cloudflare D1 serves as the relational system of record.
The architecture is simple enough to iterate quickly while still supporting the controls I wanted from a production system: encrypted sessions, relational constraints, schema migrations, layered validation, automated tests, security headers, deployment verification, and explicit failure behavior.
Because anonymity is part of the product itself, privacy could not be treated as a frontend convention.
I designed the system so sensitive identity and authentication information remains behind the Worker boundary:
- AES-GCM-encrypted, 12-hour __Host- HttpOnly session cookies
- same-origin authenticated API requests
- no browser-submitted bearer tokens
- TikTok credentials, signing material, database access, and bearer tokens kept out of browser-readable application state
- allowlisted HTTPS TikTok callback URLs
- validated OAuth authorization URLs
- minimal user.info.basic TikTok scope
- prepared D1 statements
- foreign keys and relational constraints
- schema-level insert and update guards
- backend review-eligibility enforcement before any agency, relationship, or review write
- shared application limits for identifiers, profile fields, review text, and public query sizes
- content-security, clickjacking, MIME-sniffing, referrer, permissions, and no-store response headers
- redacted OAuth diagnostics that retain useful operational context without logging access or refresh tokens
Public anonymity therefore comes from how the data model and API are constructed, rather than simply hiding a username in the interface.
I also intentionally avoided silent fallback behavior.
Invalid application states fail at the API boundary rather than quietly switching to another client, runtime, or data source. Authentication, validation, persistence, eligibility, and public serialization each have explicit ownership.
That made the system easier to reason about during development and gave failures clearer operational meaning.
I treated deployment consistency as part of the application rather than an external manual concern.
The production workflow deploys the Worker and Pages frontend together and injects the current Git commit SHA and build timestamp into the Worker.
After deployment, the workflow checks the live /api/version response before considering the release successful. A separate drift check compares the running Worker with local HEAD, making frontend/backend version mismatches visible instead of allowing them to remain implicit.
Deployment roles are versioned in source:
- Production application: https://ratemy.agency
- Testing and verification host: https://ratemy.pages.dev
- Worker API origin: https://api.ratemy.workers.dev
- Production branch: prod
- Integration branch: main
The production deployment and D1 migration procedure is documented in ../DEPLOY_PROD.md.
- React 19
- TypeScript
- Vite
- Cloudflare Pages
- Cloudflare Pages Functions
- Cloudflare Workers
- Cloudflare D1 / SQLite
- TikTok Login Kit
- Vitest
- Playwright
From this directory:
npm install
npm run devRun the frontend unit tests with:
npm test -- --runLocal D1 scripts and Worker configuration live at the repository root.
Rate My Agency is a good example of how I approach product engineering when the difficult part is not just implementing features but deciding what the system should guarantee.
The central decisions—verified-but-anonymous participation, creator-driven agency creation, structured reputation data, deliberately opaque abuse controls, minimal OAuth permissions, and an infrastructure change away from Amplify—each started as product decisions and then carried through the data model, API boundaries, authentication system, persistence layer, testing strategy, and production operations.
The repository’s numbered specifications document that evolution and define proof-oriented scenarios designed to falsify expected behavior rather than simply demonstrate the happy path.