How shalinipriya249/photobooth works
Photobooth is a browser-based photo and video booth with an Express backend for saving, listing, and deleting captured media. The main workflow is camera capture, optional multi-shot composition or video recording, review, then save to the gallery. The README provides no capability detail; the sampled client code shows pose, filter, and template selection, while gallery behavior is only partly excerpted. Edges reflect only calls and routes visible in the excerpts; the static-file path is documented by the server setup, but the tree does not contain the referenced public directory.
Main entry points: script.js Booth UI · server.js Media API
Components 12
Booth experience
- Booth UI
script.js - Camera stream
script.js - Pose and filters
script.js - Photo capture
script.js - Video recording
script.js - Photo composition
script.js - Review
script.js - Media gallery
script.js
Media service
- Media API
server.js - Uploaded media
server.js
Other components
- Visitor
- Browser camera
Connections 13
- Visitor → Booth UI: uses
script.js - Booth UI → Camera stream: starts or stops
script.js - Camera stream → Browser camera: requests stream
script.js - Booth UI → Pose and filters: selects
script.js - Booth UI → Photo capture: triggers photo
script.js - Booth UI → Video recording: triggers recording
script.js - Photo capture → Photo composition: composes shots
script.js - Photo capture → Review: opens review
script.js - Video recording → Review: opens review
script.js - Review → Media API: uploads media
script.js - Media API → Uploaded media: writes, lists, deletes
server.js - Media API → Media gallery: serves media URLs
server.js - Media gallery → Media API: requests media