CardPiper.com
A full-stack discovery platform connecting a React interface to a NestJS API and an experimental recommendation model.
Building a personalized discovery experience
A personalized discovery feed built with TypeScript, React, Redux, NestJS, Prisma, and PostgreSQL. I developed the interface, API, data model, and recommendation experiment together, following each interaction from the browser to the stored preferences and back to the next suggestion.
- TypeScript
- JavaScript
- NestJS
- React
- Redux
- PostgreSQL
- SASS
- Prisma
- Puppeteer
What I built
Card Piper was an independent project spanning frontend, backend, data collection, and recommendation logic. The idea was a feed of books, authors, quotes, films, games, and characters that changes as a user reacts to it. It gave me a concrete product to design and build across the whole stack.
The application stack
React and Redux handle the interface and client state. A NestJS API connects it to PostgreSQL through Prisma, with TypeScript across both sides. I worked on the flow from a user interaction in the feed to the stored preference and the recommendations returned by the backend.
Preparing the content
I used JavaScript and Puppeteer to collect and structure sample content, with BrightData supporting the collection workflow. The task involved more than gathering pages: the resulting books, people, quotes, and other entities needed relationships and consistent fields before the application could use them.
Modeling the domain
I designed Prisma models for users, books, authors, quotes, characters, films, and games, including the relationships between them and user interactions. That schema shaped the API and the feed. Thinking through the interface and persistence together helped expose where a relationship or response needed to be clearer.

The recommendation experiment
The first approach represented preferences with ten personality-inspired dimensions and used Euclidean distance to compare them. I used it as an experimental similarity model and explored how its assumptions affected the recommendations. Those limitations became part of the motivation for Brain, where I moved to semantic embeddings.
What carried into the next project
Card Piper gave me practice connecting a stateful React interface to a structured API and relational database. It also showed how much a recommendation product depends on its modeling assumptions. Brain is the follow-up exploration of that problem, using Django, embeddings, and a different frontend architecture. The lesson was to evaluate the whole experience rather than treating the recommendation formula as the product.
