Pikfoto, A Print On Demand Photo Printing App by Danial zaib LangahPikfoto, A Print On Demand Photo Printing App by Danial zaib Langah

Pikfoto, A Print On Demand Photo Printing App

Portfolio project
Danial zaib Langah
Verified paid workView completed work
Pikfoto turns the photos sitting on a phone into Polaroid style prints posted to the door every month. I built the whole product with the founder, Nick Meneses: the Flutter app for iOS, Android and web, the Firebase backend, the Stripe subscription and print credit system, and a dedicated render server that composes every file the print lab receives at 720 PPI.
The Problem
People shoot thousands of photos a year and hang almost none of them. Ordering prints normally means a clumsy web uploader, guesswork about crop and print quality, and a one time purchase nobody ever repeats. Pikfoto makes selection, framing, titling, payment and delivery a single flow, and the monthly plan turns printing into a habit funded by print credits instead of a single checkout.
Subscription Plans And Print Credits
Three monthly plans of 10, 16 or 24 Polaroid style photos, billed monthly or yearly with free domestic standard shipping. Plan selection, plan change, pause and cancellation all run through Cloud Functions that talk to Stripe, and a scheduled function tops up each member's print credits on renewal. A member can move between plans mid cycle without losing credit.
Photo Packs And Print Products
Alongside the subscription, customers order one off photo packs, 4x6 and 5x7 prints, Polaroid magnets and adhesive photo albums. Every product maps onto the same versioned print spec, so adding a product is a spec entry rather than a new code path through the renderer.
Choosing Photos Without Leaving The App
Selection reads straight from the phone library. Each photo gets a crop, a focus point, an optional title and a date stamp, and the app tracks how many of the month's credits are spent as the selection grows. Nothing is uploaded until the order is confirmed, which keeps the flow fast on a weak connection.
Crop, Focus And Live Preview
The preview is the hardest promise in a print product: what the customer sees on glass has to be the object that lands in the post. The app draws the frame, the chin, the title and the date stamp with the same proportional rules the render server uses, so the preview is a true scale model of the print and not an approximation.
Checkout, Coupons And Stripe
Checkout runs on Stripe through flutter_stripe on mobile and web. Cloud Functions create the checkout session, validate and redeem coupons, validate the shipping address against the customer's address book, listen to the Stripe webhook and cancel abandoned checkouts so stock and credits are never held by a session nobody finished.
Orders From Submit To Delivery
Every order gets a sequential order number issued by a Cloud Function, a submitted state, a thank you flow and a cancellation window. Transactional email fires on each state change, and the customer follows the order from upload to posted without opening a support chat.
The Print Render Pipeline
When an order is paid, a dedicated Node service built on Express and sharp pulls the originals, applies the crop and focus, composes the bordered print at full resolution, draws the chin typography, and packs the whole order into one ZIP for the lab. One archive per order instead of a folder of loose files, which is what a production lab actually wants to receive.
Print Geometry At 720 PPI
The frame is fixed geometry: 135 pixel sides, a 225 pixel top and a 670 pixel chin at 720 PPI. Every piece of chin typography, the month, the day, the year, the title, the legend, the logo and all the gaps between them, is expressed as a fraction of the chin height, so the stamp holds its proportions at every print size. Text baselines in the renderer's SVG are matched to how Flutter lays out the same strings, which is what keeps the preview honest.
Why Rendering Left The Cloud Functions
Composing at print resolution is heavy, slow and memory hungry, which makes it the wrong job for a serverless function: long executions, timeout risk, and a bill that grows with every reprint. Moving the renderer to its own service on a VPS, behind Caddy as a systemd unit, removed the timeout ceiling, made the cost predictable, and stopped heavy rendering from competing with checkout and Stripe webhooks for the same runtime.
One Spec, Seven Print Sizes
Seven sizes ship from one spec file. Three framed Polaroid formats at 3.5x5, 4x4 and 4x5, and four borderless formats at 4x6, 5x7, 6x4 and 7x5, each routed to the right lab queue for 4, 5 or 6 inch paper. Both the spec and the renderer carry a version number, so a reprint ordered months later produces the same physical object instead of whatever the current code happens to draw.
System Architecture
A Flutter client on iOS, Android and web, Firebase for authentication, data and storage across 18 Firestore collections, 18 Cloud Functions for the commercial and transactional work, the render service and its lab handoff, a separate subscription submit service, and an admin panel for the team. Remote Config, Messaging and Crashlytics handle rollout, notifications and crash reporting.
The Commercial Layer
Subscriptions, plan changes, monthly credit grants, coupons, abandoned checkout recovery and address validation all have to agree with each other, every month, for every member. That agreement is the part of a subscription product that quietly decides whether it survives, so each of those rules lives in a single function with one source of truth rather than being spread across the client.
Project By The Numbers
278 Dart files and roughly 78,800 lines in the app, 18 Firestore collections, 18 Cloud Functions, 7 print sizes, 3 lab queues, and a print pipeline running at 720 PPI.
Tools And Technology
Flutter and FlutterFlow, Firebase with Firestore, Cloud Functions, Storage, Remote Config, Messaging and Crashlytics, Stripe for payments and subscriptions, Node with Express, sharp and archiver for the render server, Caddy and systemd on a VPS, Vercel for the web build and Codemagic for mobile CI.
Live Application
The site and the ordering flow are live. The mobile app is in final build and is not yet listed on the App Store or Google Play.
My Role
End to end build: product flows, the Flutter app for iOS, Android and web, the Firebase data model and every Cloud Function, the Stripe subscription and print credit system, the Node render server with its versioned print spec, and deployment across Vercel, Codemagic and the VPS that runs the renderer.

1 like · 3 views · Nov 24, 2026

Print on demand photo app built in Flutter and Firebase, with Stripe subscriptions and a 720 PPI render server that composes every print.

Timeline

Oct 25, 2025 - Nov 17, 2026

Tags

Collaborators