Back to projects

2025 season ended · 2026 version in development

PokéTree

A seasonal web service where friends send you anonymous Christmas letters, and each letter adds a Pokémon to your collection.

I built the Go API that saves a letter, draws a Pokémon, and adds it to the Pokédex in one transaction, and implemented share buttons whose destination changes by language, with screens in nine languages. The service is a Christmas-only web app: share your tree with friends and anonymous letters arrive. Every letter brings one Pokémon, which gives people a reason to come back while they wait. The 2026 version is being rebuilt on Next.js alone.

Period
2025.11 - 2025.12
Format
Team project (12 people)
Team
Blueberry Team · 12 people
Role
Built the Go API that saves a letter, draws a Pokémon, and adds it to the Pokédex in one transaction, and implemented share buttons whose destination changes by language, with copy in nine languages.
Tech stack
Go, PostgreSQL, Next.js (2025 season) / 2026 rebuild in progress on Next.js and Supabase

A reason to come back while waiting for letters

In PokéTree, people make their own Christmas tree and share its link with friends. Friends can write anonymous letters without logging in. Each letter appears as an ornament ball on the tree.

With letters alone, there is nothing to do after sharing except wait. In PokéTree, every arriving letter also brings one Pokémon and fills a slot in the Pokédex. Rather than adding a separate game, this ties the act of receiving letters itself to the fun of collecting.

Never saving the letter without updating the Pokédex

When a letter is sent, the Go server saves it to PostgreSQL and adds a Pokémon to the recipient's Pokédex. Both happen in a single transaction, so a letter is never stored without its Pokémon, or the other way around.

The draw picks uniformly from 73 regular Pokémon 95% of the time, and from six rare ones, including legendaries, 5% of the time. A letter holding a rare Pokémon shows up on the tree as a Master Ball.

The Pokédex was first designed as a Pokémon table plus a join table between users and Pokémon. I then moved Pokémon names and images into the front-end data and kept only the numbers on the server. The Pokémon table was dropped, and each user row now holds an array of collected Pokémon numbers, with a condition that skips numbers the user already has.

A different social network for each language

The screens support nine languages, including Korean, Japanese, and English. The language is chosen from the saved setting, then the browser language, then English.

Below the tree, I placed a button to the official social account. It opens the Japan account on X in Japanese, and Instagram in every other language. The first time a tree owner presses it, they receive a limited Pokémon.

Adding this button caused the fixed footer to cut off the tree image. On the landing and tree pages only, the whole page from header to footer now scrolls together; other pages such as the Pokédex keep the original layout where only the body scrolls.

Turning the 2025 gaps into the rebuild's spec

The 2026 version drops the Go server and Firebase and is being rebuilt on Next.js, Supabase (PostgreSQL), and Vercel only. Behavior users can see carries over from 2025; defects found in the 2025 code are redesigned.

In 2025, for example, the copy said letters could be read from Christmas, but the server never checked the date. In 2026, the server decides when December 25 arrives using the tree owner's time zone.

I also revisited the Pokédex-as-array decision. The 2026 version adds experience and evolution to Pokémon, and an array cannot hold those values, so collected Pokémon are back in a table with one row each.