Client photo proofing galleries, built by Claude Code on Elements

Client photo proofing galleries, built by Claude Code on Elements

Private photo galleries where clients heart favorites and comment live, and the photographer downloads the chosen file names.

View the code on GitHub →

How it's built

Proofloft needed private galleries a client opens from a link, photo uploads, hearts and comments that both sides see as they happen, emails at each handoff and a file of the chosen names for the photographer. Each of those is a part of Elements, so the agent spent its 26 minutes on the galleries themselves.

  • Live hearts and comments. Favorites and comments are LiveTables. A client hearts a photo and the photographer's open gallery shows it at once, and a reply lands under the client's comment the same way. Once a gallery is final, the client's picks are locked in. A channel tells the photographer the moment a client submits.
  • Client access from a link. A client opens their gallery from the private link in their email and enters its password once; a cookie for that gallery keeps them in.
  • Uploads into the database. The photographer uploads photos straight from a form, the bytes are stored in the database, and each photo is served at a url made from its id and a hash of its bytes.
  • Emails at each handoff. Sharing a gallery emails the client the link, and submitting selections emails the photographer the picks.
  • Server calls as function calls. Creating a gallery, uploading, inviting the client and marking selections final call server functions straight from the page with @rpc, and the photographer downloads the chosen file names as a text file.
  • Data from SQL files. Migrations define the studio and seed one photographer, three galleries with 82 photos, and one client's hearts and comments.

Why Elements

Elements is the integrated stack for building apps with AI: a TypeScript project server, build system, app framework and deployment system, engineered from the ground up as one. Your editor, tools and one or many agents all connect to the same always-on project server, which runs type checking, program analysis, migrations and tests as the agent builds. Built-in guardrails keep the app structured correctly and secure as it grows from prototype to production.

Run it yourself

Paste this into a terminal. It installs Elements, creates your copy of this app and starts it.

curl -fsSL 'https://elements.dev/install?create=proofloft&scaffold=demo-proofloft' | sh
View script