guest@gubanov:~$ cat ./projects/panamax/README.md

Panamax

Website for a Volgograd coffee roaster — the catalog straight from PostgreSQL, an order form and a bold retro look.

Panamax is a coffee shop, a coffee store and a roastery. The site shows the current coffee from the database and collects orders; version 1.1 redesigned it with Claude Code and fixed the rough edges.

role01
Frontend, API, database
period02
May — Jun 2026 · v1.1 Nov
team03
Solo
type04
Coffee shop website
panamax.gubanov.work/
Hero — coffee close-ups, the logo and a marquee in the brand's orange
fig.00Hero — coffee close-ups, the logo and a marquee in the brand's orange
[01]guest@gubanov:~$ cat overview.md01 / 05

Overview

// context

Panamax is a coffee shop, a store and a roastery in Volgograd. The site had to feel like the brand — heavy type, orange accents, coffee close-ups — and do two jobs: show the current coffee and collect orders.

It is a Next.js app with its own small backend: products live in PostgreSQL and are rendered on the server, the order form writes requests to the database, and a REST API adds new coffee without touching the code.

[02]guest@gubanov:~$ cat ./work.log02 / 05

What I did

Versions 0.1–1.0 in spring 2026; the 1.1 redesign in November with Claude Code.

  1. 01

    Built the site on Next.js 16 and React 19, split into entities, features, widgets and shared layers.

  2. 02

    Catalog from PostgreSQL: products are rendered by Server Components inside Suspense; if the database is down, the page shows a calm fallback instead of an error.

  3. 03

    REST API: GET and POST /api/products for the catalog, /api/contact for requests.

  4. 04

    Order form with validation, a honeypot field and a per-IP cooldown; statuses instead of alerts, and the chosen coffee is filled into the message automatically.

  5. 05

    Motion: marquees, scroll and pointer parallax, sections that reveal on scroll, scrambling text; a mobile menu and a 404 page.

  6. 06

    Local infrastructure: PostgreSQL and Adminer in Docker Compose, the schema and seed data in db/init.sql.

[03]guest@gubanov:~$ open ./screens03 / 05

Screens

Click a screenshot to open it full screen; arrow keys switch between them.

fig.01About — the story of the roastery next to a parallax photo
fig.02Catalog — cards with sizes, prices and an order button
fig.03Order form with social links
fig.04Hero on a phone
fig.05Mobile menu
fig.06Product card
fig.07Order form
[04]guest@gubanov:~$ cat ./notes/architecture.md04 / 05

Under the hood

▸ note01

Server-rendered catalog

Products are queried in a Server Component on every request, so the catalog is always fresh and indexable — no spinner while the client fetches data.

▸ note02

Graceful database outages

The connection pool is created lazily and query errors turn into an ok: false state — the page still renders, and a dropped idle connection never crashes the server.

▸ note03

Spam protection without captcha

A hidden honeypot field and a 10-second cooldown per IP, taken from X-Forwarded-For behind the proxy, keep the form clean.

▸ note04

Data over code

A coffee is a row in PostgreSQL with arrays for sizes and prices — adding a product is one request, not a deploy. On the public demo the catalog is read-only.

[05]guest@gubanov:~$ cat package.json05 / 05

Stack