Skip to content
shashank.singh
← All work

In-house product · Built end to end

UtsavWale

Multi-tenant event-photo platform. Organizers upload albums, and guests find their own photos with a selfie.

Visit live site

Context

UtsavWale is a multi-tenant event-photography platform. Photographers and organizers upload photos to albums, guests find the ones they appear in by taking a selfie, and an admin panel handles organization approvals, cameras, QR codes and wallets. I built it end to end: the Next.js app, the APIs, the databases and the AWS infrastructure.

Problem

Uploads arrive in large bursts during and after an event. Processing had to keep up at peak without losing photos. Face search had to be safe from someone holding up another person's picture. And storage for thousands of images had to stay cheap long after the event ended.

What I did

  • Built the product end to end: Next.js web app, 320+ REST APIs on Express and AWS Lambda, PostgreSQL and DynamoDB, and AWS CDK infrastructure that makes Dev, UAT and Production reproducible in minutes instead of days.
  • Architected the face-search pipeline: SQS-fed Lambda workers dedupe, resize and index faces in Rekognition, with dead-letter queues so no photo is lost.
  • Added liveness checks before face search, httpOnly cookie sessions, and platform, organization and album roles with approval flows.
  • Reduced cloud cost by 70% with S3 lifecycle policies and DynamoDB and Aurora storage tiering, with no change to read latency.

Architecture

UtsavWale architecture: Next.js app to REST API, REST API to S3, REST API to SQS, SQS to Lambda workers, SQS to Dead-letter queue, Lambda workers to Rekognition, Lambda workers to Databases, S3 to Lambda workersupload URLenqueueon failureNext.js appOrganizers · guestsREST APIExpress on LambdaS3Presigned uploadsSQSIngest queueLambda workersDedupe · resize · indexRekognitionFaces · livenessDead-letter queueFailed jobs keptDatabasesPostgreSQL · DynamoDB
Simplified architecture. Green moving lines show the main flow; grey dashed lines are supporting paths.

Screenshots

UtsavWale gallery with album cards, favourites and pending album invitations
Organizer gallery: albums with access levels, favourites and invitation approvals. Other people's photos blurred.
UtsavWale login page with phone or email sign-in next to the find-your-photos pitch
Sign-in with phone or email OTP.
UtsavWale cameras page listing SFTP-connected cameras with photo counts and album links
Camera to Cloud: cameras upload over SFTP straight into linked albums.
UtsavWale admin panel showing pending face-match reviews with confidence scores and approve or reject actions
Admin panel: face matches waiting for manual review, with confidence scores.

Key decisions and trade-offs

Queue everything, process asynchronously

The browser uploads straight to S3 with a presigned URL, and the API only puts a job on SQS. Lambda workers pick jobs up in parallel, so event-night bursts wait in the queue instead of failing. Guests see matches a few moments after upload rather than instantly, which suits this product.

Prove it's a real person before searching faces

Face search and face login start with a liveness check, so nobody can find someone else's photos by holding up their picture. Failed jobs land in dead-letter queues where they can be inspected and replayed.

Sessions that don't log people out by accident

Tokens live in httpOnly cookies, never in browser storage. When a token expires, the app tells a real auth failure apart from a temporary server error, so a backend hiccup doesn't sign the user out.

Store by age, not by default

S3 lifecycle policies plus DynamoDB and Aurora storage tiering move old data to cheaper storage. Cost fell 70% with no change to read latency.

Stack

Next.jsTypeScriptExpressAWS LambdaRekognitionSQSPostgreSQLDynamoDBAWS CDKCloudFrontCognito